0 Replies Latest reply on Mar 31, 2011 11:26 AM by todd123

    Force user to see page 1 of portal when portal is requested

    todd123

      I am creating a registration portal that has many steps, each step with its own .xhtml page.  The user can enter the portal with the url:portal/registration which initially renders registration.xhtml


      The user enters their information in a step then clicks a commandButton to submit form and the bean returns the url of the next step:


      public String submitStep2(){
          return "/common/step2.xhtml";
      }




      If the user leaves the portal and comes back in via the url portal/registration I want them to be pushed to resistration.xhtml which is step 1.  Is this possible?


      One solution I have found is to use this url for the portal link:


      portal/registration/default/registrationPortletWindow?action=1&org.jboss.portletbridge.VIEWID=%2Fcommon%2Fregistration.xhtml&org.jboss.portletbridge.NAMESPACE=jbpns_2fregistration_2fdefault_2fregistrationPortletWindowsnpbj



      But that seems messy and might leave orphaned conversations.


      I'm using JBoss Portal 2.7.0, Seam 2.2.1, richfaces 3.3.3, and portletbrudge 1.0