2 Replies Latest reply on Mar 22, 2011 9:31 AM by lvdberg

    navigation does not work

    mackhitler
      it is my action button
      <div class="actionButtons">
              <a4j:commandButton value="next &gt;&gt;" action="next" reRender="tipopersona"/>
      </div>

      my page.xml

      <page view-id="/controls.xhtml">
        <navigation>
         <rule if-outcome="next">
          <redirect view-id="/pages123.xhtml"/>
         </rule>
        </navigation>
      </page>

      does not work||
        • 1. Re: navigation does not work
          babazs

          Use h:form around a4j:commandButton and it will work.

          • 2. Re: navigation does not work
            lvdberg

            Hi,


            I think that balazs means that you need to surround the part of the code you want to reRender with an outputpanel. Additionally, you shopuld'nt do something like this with Ajax-buttons, do something inn the action method and it should result in a rerender of a specific part. Otherwise implement this with a normal button and define the page navigation.


            Leo