[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2449) The capturedView stuff doesn't support capturing the parameters emitted by s:link

Andrew Elegante (JIRA) jira-events at lists.jboss.org
Fri Jan 4 12:36:43 EST 2008


The capturedView stuff doesn't support capturing the parameters emitted by s:link
---------------------------------------------------------------------------------

                 Key: JBSEAM-2449
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2449
             Project: JBoss Seam
          Issue Type: Bug
    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


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: 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