[jboss-user] [JBoss Seam] - Re: a4j:include and seam navigation

Konstantin_Grigoriev do-not-reply at jboss.com
Thu Nov 15 06:38:03 EST 2007


I have troubles using a4j:include and seam navigation in pages.xml.

If i define logic in faces-config.xml:

  | <navigation-rule>
  |    <from-view-id>/test/firstTest.jspx</from-view-id>
  |     <navigation-case>
  |       <from-outcome>next</from-outcome>
  |       <to-view-id>/test/secondTest.jspx</to-view-id>
  |     </navigation-case>
  |  </navigation-rule>
  | 
everything is ok - navigation occurs only inside a4j:include-d page, but if i use pages.xml:

  |     <page view-id="/test/firstTest.jspx">
  |         <navigation>
  |             <rule if-outcome="next">
  |                 <redirect view-id="/test/secondTest.jspx" />
  |             </rule>
  |         </navigation>
  |     </page>
  | 
navigates the whole page.

/test/firstTest.jspx included into parent page:
<a4j:include viewId="/test/firstTest.jspx"/>

JBoss Seam version : 2.0
RichFaces : 3.1.2

Is this Seam or RichFaces problem?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104953#4104953

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104953



More information about the jboss-user mailing list