[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2449) The capturedView stuff doesn't support capturing the parameters emitted by s:link
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Sun Oct 5 22:58:21 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shane Bryzak closed JBSEAM-2449.
--------------------------------
Fix Version/s: 2.1.0.GA
(was: 2.1.2.CR1)
Resolution: Done
Fixed by capturing the actionMethod parameter in addition to any page params.
> The capturedView stuff doesn't support capturing the parameters emitted by s:link
> ---------------------------------------------------------------------------------
>
> Key: JBSEAM-2449
> URL: https://jira.jboss.org/jira/browse/JBSEAM-2449
> Project: Seam
> Issue Type: Feature Request
> Components: Core, JSF Controls
> Affects Versions: 2.0.0.GA
> Environment: Windows XP
> JBoss 4.2.2 GA
> Seam 2.0.0 GA
> RichFaces 3.1.2 GA
> Facelets 1.1.13
> Reporter: Andrew Elegante
> Assignee: Shane Bryzak
> Fix For: 2.1.0.GA
>
>
> I have a page with an s:link in it like so
> <s:link id="newFeeProduct" value="[#{feesNav.createNewFeeProduct}]" view="/fees/feeProduct/wizard/step1.xhtml"
> action="#{feeProductWizard.startNewWizard()}" propogation="begin" />
> In my pages.xml I have the following:
> <page view-id="/fees/feeProduct/wizard/step1.xhtml" login-required="true" >
> </page>
> In my components.xml I have the following:
> <event type="org.jboss.seam.notLoggedIn">
> <action execute="#{redirect.captureCurrentView}"/>
> </event>
> <event type="org.jboss.seam.postAuthenticate">
> <action execute="#{redirect.returnToCapturedView}"/>
> </event>
>
> It is possible that a user could click the link without having logged in which redirects to the login page. After logging in the redirect link retains the cid but loses the actionMethod param.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list