Hi,
I wrote a simple portlet and am trying to read the folder menu within
a portlet. I can read the relative url's but how can I get the
absolute URL? And also where is $jetspeed defined? If I set $jetspeed
then I guess doing <td>${linkUrl} will work.
This is my .vm file:
#set($navigationsStandardMenu = $site.getMenu("page-navigations"))
#if(!$navigationsStandardMenu.empty)
<table cellpadding="0" cellspacing="4" border="0" width="100%">
#foreach($element in $())
<tr>
#set($linkUrl = $jetspeed.getAbsoluteUrl($element.url))
<td>$element.url</td>
</tr>
#end
</table>
#end
Thanks
Elif
To unsubscribe, e-mail: jetspeed-user-unsubscribe (AT) portals (DOT) apache.org
For additional commands, e-mail: jetspeed-user-help (AT) portals (DOT) apache.org