[
https://jira.jboss.org/jira/browse/JBSEAM-2449?page=com.atlassian.jira.pl...
]
Pete Muir updated JBSEAM-2449:
------------------------------
Issue Type: Feature Request (was: Bug)
Fix Version/s: The future
(was: 2.1.0.GA)
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
Fix For: The future
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