[jboss-user] [JBoss Seam] - actionMethod param lost on login redirect
UTDrew
do-not-reply at jboss.com
Thu Jan 3 15:16:16 EST 2008
Hi,
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. I've seen posts where people were passing their own params around and lost them but since this is a seam parameter I would expect it to be retained. Is there some way I can get the actionMethod param to be retained?
seam 2.0.0 GA
jboss 4.2.2 ga
facelets
Thanks,
Drew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116849#4116849
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116849
More information about the jboss-user
mailing list