[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1931) Pages.xml parameters disappear on events

Andy Gibson (JIRA) jira-events at lists.jboss.org
Mon Sep 17 11:19:10 EDT 2007


Pages.xml parameters disappear on events
----------------------------------------

                 Key: JBSEAM-1931
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1931
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0.BETA1
         Environment: Win XP, Seam 2.0Beta, Exadel, JBoss 4.2
            Reporter: Andy Gibson


If you set up a page parameter in pages.xml for a given page, go to that page, and the page is re-rendered due to an event, then page parameters disappear.

For example, if you add a button such as : 

           <h:commandButton value="Dummy" action="none"/>

Into either the search page, or the editcontact pages in the contact list example, then run the seam contact list example, anytime you click the button, the page refreshes, and the params disappear. 

This kind of messes with the Restful URL ideas since having a bookmarkable URL will depend on whether or not there are event type buttons on the page, and whether the user has already clicked them.

Parameters are kept on the request URL when you use pageflows to handle the events, so if my page was in a pageflow that executed some action and transitioned on "none" to the same page that I was already on, the parameters would be present when I clicked the button and the page refreshed.

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