-
1. Re: Page parameter propagation not working?
sunfire Jan 7, 2008 1:37 PM (in response to sunfire)btw: Seam version is 2.0.1.CR1 running on JBAS 4.2.2.GA
-
2. Re: Page parameter propagation not working?
christian.bauer Jan 7, 2008 1:40 PM (in response to sunfire)Page parameters are for GET requests, not POST requests.
-
3. Re: Page parameter propagation not working?
sunfire Jan 7, 2008 1:45 PM (in response to sunfire)Hm, then I guess this wording from the docs is a little bit misleading, no?
The value is transparently propagated with any JSF form submission for the page with the given view id.
Sounded to me as if it was supposed to work for POST's (JSF form submission) as well. -
4. Re: Page parameter propagation not working?
christian.bauer Jan 7, 2008 1:54 PM (in response to sunfire)Uhm, forget it, i meant page actions.
-
5. Re: Page parameter propagation not working?
sunfire Jan 7, 2008 2:02 PM (in response to sunfire)I am confused now. :) So is it supposed to work or not?
-
6. Re: Page parameter propagation not working?
andygibson Jan 7, 2008 2:43 PM (in response to sunfire)Yes, it is supposed to work. Page parameters can be used on posts.
It should work as listed, my only hesitation is regarding the issue of a file upload. I have forms with page parameters that are sent back and forth in form POSTs.
Try it without the form upload, just a button which calls a blank method that returns null.
Cheers,
Andy -
7. Re: Page parameter propagation not working?
pmuir Jan 7, 2008 5:45 PM (in response to sunfire)http://jira.jboss.com/jira/browse/JBSEAM-2112
I now understand the issue :) -
8. Re: Page parameter propagation not working?
sunfire Jan 7, 2008 6:07 PM (in response to sunfire)Yes, the JIRA issue Pete posted seems to be the one I am struggling with. :) I also just tried it without the file upload but only a null returning h:actionButton in the form with the same result as with the file upload.
-
9. Re: Page parameter propagation not working?
matt.drees Jan 8, 2008 12:39 AM (in response to sunfire)"pete.muir@jboss.org" wrote:
http://jira.jboss.com/jira/browse/JBSEAM-2112
I now understand the issue :)
My bad... I should have been more clear in my description. -
10. Re: Page parameter propagation not working?
pmuir Jan 8, 2008 5:20 AM (in response to sunfire)Matt, not your fault at all. I just didn't think things through very well in terms of why the parameters would be propagated but the null check fail.