0 Replies Latest reply on Apr 8, 2008 10:28 AM by whiteout

    Problem with a4j:include

    whiteout

      I'm using a4j:include and navigate to the next partial pages by a4j:commandButton(s). Since RichFaces 3.2.0 the destination page will not be reached, if the a4j:commandButton is surrounded with an a4j:region. On Opera 9.27 the complete destination page is an empty white page and the application server error log does not give any information about this behavior.
      Is it a bug or an intented regimentation?

      ...
      <a4j:include viewId="/page1.xhtml"/>
      ...


      page1.xhtml
      ...
      <!-- ok -->
      <a4j:commandButton value="Next (page2)" action="#{MyBean.action_next}"/>
      
      
      <!-- broken -->
      <a4j:region>
       <a4j:commandButton value="Next (page2)" action="#{MyBean.action_next}"/>
      </a4j:region>
      ...


      page2.xhtml
      ...
      <h:outputText value="I'm page2"/>
      ...