[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1574) pages.xml actions are not called when using "render" with s:link and s:button

Michael Youngstrom (JIRA) jira-events at lists.jboss.org
Thu Aug 16 10:56:00 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1574?page=comments#action_12372544 ] 
            
Michael Youngstrom commented on JBSEAM-1574:
--------------------------------------------

Just to reassure everyone this can be fixed and I would be happy to provide a patch.  However, before I provide a patch I wanted to make sure that we really do want this functionality.

I would argue that the page being rendered and processed here is not /docDisplay.xhtml but is instead /docEdit.xhtml and that /docEdit.xhtml's action should be the action called not "/docDisplay.xhtml".  In 2.0.0.beta before this patch was applied what would have happened is "/docDisplay.xhtml" and "/docEdit.xhtml" would have both had their actions called which I think might not be the correct functionality???

It makes more sense to me that only the page rendered would have it's action called.  But if I am wrong then I would be more than happy to fix this so redirected page actions are called twice like they were in 2.0.0.beta.

> 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
>            Priority: Blocker
>             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

        



More information about the seam-issues mailing list