1 Reply Latest reply on Jul 14, 2006 11:31 AM by Boleslaw Dawidowicz

    how substitute sendRedirect?

    pedro costa Apprentice

      I've a portal and i want to navigate from one page to another. Is there any way to redirect from one page of the portal to another, instead of using sendRedirect?

      Tnaks,
      Pedro

        • 1. Re: how substitute sendRedirect?
          Boleslaw Dawidowicz Master

          Look at NavigationPortlet. As this isn't covered by spec anyway you need to extend JBossPortlet instead of GenericPortlet and use

          JBossRenderResponse.createRenderURL(PortalNode node)


          But to get proper PortalNode you need to obtain PortalObjectContainer service and navigate thru PortalObject hierarchy.... All code you need is in NavigationPortlet class