[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1359) Login redirection not remembering page parameters

Gavin King (JIRA) jira-events at lists.jboss.org
Tue May 29 19:09:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1359?page=all ]

Gavin King closed JBSEAM-1359.
------------------------------

    Resolution: Done

Thanks, this was a really bad bug!

now fixed in CVS

> 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
>         Assigned To: Gavin King
>             Fix For: 1.3.0.ALPHA
>
>
> 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