[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1359) Login redirection not remembering page parameters
Hung Tang (JIRA)
jira-events at lists.jboss.org
Mon May 28 14:28:08 EDT 2007
Login redirection not remembering page parameters
-------------------------------------------------
Key: JBSEAM-1359
URL: http://jira.jboss.com/jira/browse/JBSEAM-1359
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.3.0.ALPHA
Reporter: Hung Tang
I am experiencing some problems with login redirection not remembering page parameters.
I have a main page (main.xhtml) that goes to another page (call it go.xhtml) which requires login. After successful authentication, go.xhtml does not remember the page parameter that was passed in originally from main.xhtml, and as a result nothing is displayed. However, if I login prior to entering go.xhtml, the page parameter is remembered and the output is displayed.
Here are the relevant bits:
## main.xhtml
Code:
<s:link view="/go.xhtml" value="Go">
<f:param name="hello" value="world"/>
</s:link>
## go.page.xml
Code:
<page login-required="true">
<param name="hello" value="#{bean.value}"/>
</page>
## go.xhtml
Code:
<html>
#{bean.value}
#{facesContext.externalContext.requestParameterMap['hello']}
</html>
## components.xml
Code:
<event type="org.jboss.seam.notLoggedIn">
<action expression="#{redirect.captureCurrentView}"/>
</event>
<event type="org.jboss.seam.postAuthenticate">
<action expression="#{redirect.returnToCapturedView}"/>
</event>
--
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