[
http://jira.jboss.com/jira/browse/JBSEAM-2254?page=comments#action_12388120 ]
Konstantin Grigoriev commented on JBSEAM-2254:
----------------------------------------------
Yes, with "render" it's works.
<page view-id="firstTest.xhtml">
<navigation>
<rule if-outcome="next">
<render view-id="secondTest.xhtml" />
</rule>
</navigation>
</page>
Wrong behaviour using a4j:include and pages.xml navigation
----------------------------------------------------------
Key: JBSEAM-2254
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2254
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 2.0.0.GA
Environment: JBoss Seam 2.0.0.G.A. RichFaces 3.1.2.G.A. JBossAS 4.2.2.G.A.
Reporter: Konstantin Grigoriev
Parent page includes firstTest.xhtml using a4j:include.
firstTest.xhtml contains button:
<a4j:commandButton action="next" value="next" />
Navigation in pages.xhtml:
<page view-id="firstTest.xhtml">
<navigation>
<rule if-outcome="next">
<redirect view-id="secondTest.xhtml" />
</rule>
</navigation>
</page>
After pressing button whole page navigates to secondTest.xhtml, not only
"a4j:include" element. In case of using faces-config.xml everything is ok.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira