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

    jump through pages

    pedro costa Apprentice

      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:
      Myportal.pageB.portlet3, i want to jump to Myportal.pageA.

      How can i do this?


        • 2. Re: jump through pages
          Angelo Immediata Newbie

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

          • 3. Re: jump through pages
            pedro costa Apprentice

            Here is my snippet:

            From portlet A, i've this.

            public void processAction(ActionRequest request, ActionResponse response) {
            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"/>

            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.