2 Replies Latest reply on Aug 26, 2009 12:01 AM by asookazian

    organize wizards using the <rich:modalPanel> component

    pramod_bs
      I am building a wizards using the <rich:modalPanel> component.

      http://www.jboss.org/community/wiki/HowtoorganizewizardsusingtherichmodalPanelcomponent#cf

      http://livedemo.exadel.com/richfaces-demo/richfaces/include.jsf?c=include

      I am trying to implement this with JBoss Seam. I am having a problem with the navigation. I am having the"next" option (to move to the next page in the modal panel) in the *.page.xml But it is closing the modal panel and the "next" page is getting loaded in the parent browser. Please help
        • 1. Re: organize wizards using the <rich:modalPanel> component
          pramod_bs

          Anybody to help? Basically my question is how to do a page navigation navigation in the modalpanel

          • 2. Re: organize wizards using the <rich:modalPanel> component
            asookazian

            This question should be posted on the JBoss RichFaces Users forum.  It's not Seam-specific.



            There are lot of use-cases where the popup should have wizard like behavior. In the VCP 2.0.1 library there was the DialogWindow component designed for such cases. But it was redesigned from the scratch because of many usage issues from customers.

                 The modalPanel component now is more flexible and simple for usage. But the question is in organization of wizards using the component.

                 The answer is inside <rich:modalPanel> and <a4j:include> components combination. The <a4j:include> component allows to perform Ajax navigation inside included page. To read more about it, explore Rich Faces Guide.

                 Thus, one need just put include inside the modal panel and perform navigation inside it as shown in the simple include examples.