[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1299) s:link - Postback before redirect triggers Page Action of PREVIOUS page

Gavin King (JIRA) jira-events at lists.jboss.org
Sun May 13 12:37:52 EDT 2007


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

Gavin King closed JBSEAM-1299.
------------------------------

    Resolution: Rejected

Like I thought. Specify the view id.

> s:link  -  Postback before redirect triggers Page Action of PREVIOUS page
> -------------------------------------------------------------------------
>
>                 Key: JBSEAM-1299
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1299
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0.GA
>         Environment: Seam 1.2-Patch1
>            Reporter: John Chesher
>
> Scenario:
> Page A contains an <s:link> to go to page B. Page A has a page action defined in pages.xml. When I click the s:link on Page A, to go to Page B, it invokes the page action for Page A before redirecting to Page B.  If I replace the s:link with an h:commandLink, it works as I would expect it to, i.e., no page action for Page A.
> I have now retested and I have this scenario in multiple instances within my application. In most cases, I didn't even realize that it was invoking the page action for Page A, as by luck the method was designed such that it did not throw an exception or cause any other noticeable problems. However, I finally noticed this behavior when my luck ran out and I wrote a page action method that threw an exception when called unitentionally in this situation.
> Is this perhaps a bug in s:link or am I not properly understanding and utilizing its capabilities?

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