Open javaserverfaces opened 8 years ago
Reported by vijpan
This issue was imported from java.net JIRA JAVASERVERFACES-4103
Please see this important message regarding community contributions to Mojarra.
https://javaee.groups.io/g/jsf-spec/message/30
Also, please consider joining that group, as that group has taken the place of the old dev@javaserverfaces.java.net mailing list.
Thanks,
Ed Burns
Here is the scenario which is
Page A.xhtml i. Click an ajax submit button ii. above click navigates to Page B (not a redirect)
Page B.xhtml i. There is a "preRenderView" event defined in under f:metadata. ii. "preRenderView" listener under certain scenario's does a forward to next page i.e. Page C.xhtml iii. This is used to do navigation - facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, null, outcome); (not a redirect)
So far so good
Page C.xhtml i. There is a "preRenderView" event defined in this page under f:metadata - which never gets executed
Problem: Page C is rendered but its "preRenderView" never gets executed.
Note: I tested this scenario with WAS Liberty Server 8.5.5.8 - JEE7 compliant server with Apache MyFaces and it works perfectly fine there.
Thanks for looking into it.
Environment
Wildfly 9.0.2.Final, JDK 1.8.0_65, Windows 8
Affected Versions
[2.2.12]