3 Replies Latest reply on May 30, 2006 6:06 AM by pedrosacosta

    jump through pages

    pedrosacosta

      I don't know if this is truly right but, a portal has several pages. Each page has several portlets. If this is correct, i want from a link in a portlet, jump to another page.

      For example:
      From
      Myportal.pageB.portlet3, i want to jump to Myportal.pageA.

      How can i do this?

      Thanks,
      Pedro

        • 1. Re: jump through pages
          pedrosacosta

          I've done it.

          • 2. Re: jump through pages
            craig1980

            Hi.
            Can you show me how you have done?
            I have a similar problem...Thanks

            • 3. Re: jump through pages
              pedrosacosta

              Here is my snippet:

              From portlet A, i've this.

              public void processAction(ActionRequest request, ActionResponse response) {
              response.sendRedirect("/portal/auth/index.html?ctrl:cmd=action&ctrl:mode=view&ctrl:window=sigo.Avarias.NavSIGOPortletWindow&action=view");
              request.getPortletSession().setAttribute(...,..., PortletSession.APPLICATION_SCOPE);
              }


              This url was obtained from my jsp page of the portlet that i sendRedirect. In the respective jsp, i've this:

              <c:set var="addRowURL">
              <portlet:actionURL portletMode="edit">
              <portlet:param name="action" value="edit"/>
              </portlet:actionURL>
              </c:set>



              Viewing the html code generated from my jsp, i get url above written. So, i simply did copy/paste.


              I hope, i've made myself clear.