1 Reply Latest reply on Sep 9, 2006 5:14 AM by Orion Yiu

    Error in the URL generated by portlet:renderURL

    Orion Yiu Newbie

      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!