tag:help-archives.hannonhill.com,2010-02-09:/discussions/velocity-formats/11709-page-linkCascade CMS: Discussion 2015-04-20T14:26:43Ztag:help-archives.hannonhill.com,2010-02-09:Comment/364758192015-04-02T20:19:09Z2015-04-02T20:19:09ZPage Link<div><p>Hi,</p>
<p>Is the page being selecting within the chooser within a
different Site by chance? If it is, use the <strong>link</strong>
element instead of <strong>path</strong> to generate a cross-Site
link:</p>
<pre>
<code>#set ($searchResultsPage = $searchResults.getChild("link").value)</code>
</pre>
<p>If the selected page is within the same page, try surrounding
the value of the path with <code>[system-asset]</code> pseudo tags
to force Cascade to track the link:</p>
<pre>
<code><form action="[system-asset]${searchResultsPage}[/system-asset]" id="form-search" method="get" name="searchForm"></code>
</pre>
<p>Site note: Either way, I would suggest using
<strong>link</strong> in the event the chosen page does end up
being within another Site.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffith