[
http://jira.jboss.com/jira/browse/JBSEAM-1574?page=comments#action_12372804 ]
Michael Youngstrom commented on JBSEAM-1574:
--------------------------------------------
The change was if I have:
<page view-id="/search.xhtml" action="#{searchBean.search}">
<rule if-outcome="detail">
<redirect view-id="/detail.xhtml"/>
</rule>
</page>
<page view-id="/detail.xhtml"
action="#{detailBean.loadDetails}"/>
If I'm viewing /search.xhtml and click on an s:link like:
<s:link action="detail">View Details</s:link>
Then in 2.0.0.beta the #{searchBean.search} action is called before the redirect (before
handling the navigation case) and after the redirect #{detailBean.loadDetails} is also
called.
Currently in 2.0.0.CR1 when you click on the link no action will be called prior to the
redirect and only #{detailBean.loadDetails} will be called after the redirect.
So basically actions will only be called for pages that are rendered. If the old
functionality of calling the action for the old page and new new page is desired then that
can be changed back easily.
That is the backwards compatibility situation that hit Christian's example.
Mike
pages.xml actions are not called when using "render" with
s:link and s:button
-----------------------------------------------------------------------------
Key: JBSEAM-1574
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1574
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 2.0.0.BETA1
Reporter: Michael Youngstrom
Assigned To: Michael Youngstrom
Fix For: 2.0.0.CR1
<page view-id="/list.xhtml">
<navigation>
<rule if-outcome="detail">
<render view-id="/detail.xhtml"/>
</rule>
</navigation>
</page>
<page view-id="/detail.xhtml"
action="#{bean.loadDetail}"/>
Does not appear to call #{bean.loadDetail} when the list navigation rule is executed.
Mike
--
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