Hi,
I've got a template which basically shows a result from a database, e.g:


<span>
   <a href="$menu.getLink()">$menu.getText()</a>
</span>

which works great. Only problem is that, the $menu.getLink() returned from
the db is something like

/editPage?pageId=$pageId

$pageId is available to the page and if i put it in the actual .vm file it
will appear. Is there anyway to tell velocity to attempt to do its
substitution on the result of a substitution?

so $menu.getLink();
would then appear as /editPage?pageId=4
Can i just use #parse($menu.getLink())

thanks
Andrew



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to