I used the following code to generate a navigation link on my portlet jsp:
<portlet:renderURL var="page1"><portlet:param name="action" value="page1"/></portlet:renderURL>
<a href="<c:url value="${page1}"/>"> to page 1
However, I found out that the link generated consists of the web app context of my portlet web app. That is, instead of:
http://localhost:8080/portal/portal/default/test2/portlettest?action=2&action=page1
JBoss Portal generated
http://localhost:8080/<portlet web app context>/portal/portal/default/test2/portlettest?action=2&action=page1
Is this a bug or is there any setting that I should be aware of?
Cheers!
I found out that I made a mistake: I should not use JSTL tag together.
This would work:
<portlet:renderURL var="page1"><portlet:param name="action" value="page1"/>
</portlet:renderURL>
to page 1