0 Replies Latest reply on Feb 4, 2008 5:57 PM by vh

    how do I go back to first page when wizard finish and hide i

    vh

      When my wizard finishes, I want it to go back to the first step so it can be launched correctly next time. But the problem is if I do this, it will show the first step for a moment before it disappears.

       <a4j:commandButton value="#{bundle.Finish}"
       action="#{desktopBean.saveDesktop}"
       id="finishBtn"
       oncomplete="Richfaces.hideModalPanel(windowId);"/>
      

      Then I tried to use binding to bind the modalPanel to a bean, and do the follow, it didn't work, give a internal error.
      public String saveDesktop() {
       ....
       wizardPanel.setZIndex(0); //I tried with different values.
       return "finish";
      }
      

      I am using 3.0.1.