-
1. Re: Pageflows, h:commandButton and s:button
kukeltje.ronald.jbpm.org Jun 1, 2008 10:56 PM (in response to andygibson.contact.andygibson.net)the immediate=true on the h:button does not validate the params while submitting the form. The s:button does not submit the form at all. This leads me to the conclusion that there is an error when submitting the form. Put an h:messages on the page to see if there is some info
-
2. Re: Pageflows, h:commandButton and s:button
gothmog Nov 24, 2008 9:21 PM (in response to andygibson.contact.andygibson.net)I am also experiencing this. Essentially I can't get any h:commandButton actions whether immediate or not to trigger page transitions. The only thing that seems to work is s:button.
I have a test page with two buttons, one an s:button the other a h:commandButton both with the same action but only the s:button triggers the transition.
Looks like a bug to me. Was there any reason for this occurring that I am missing?
Seam 2.1.0.SP1
Thanks
Troy
-
3. Re: Pageflows, h:commandButton and s:button
sverker.sverker.abrahamsson.com Dec 13, 2008 11:28 PM (in response to andygibson.contact.andygibson.net)Hi Troy,
I think I'm seeing the same problem, the form is not submitted nor the action method is called with h:commandButton.Were you able to find a solution?
/Sverker -
4. Re: Pageflows, h:commandButton and s:button
gothmog Dec 29, 2008 10:57 PM (in response to andygibson.contact.andygibson.net)Hi Sverker, I did not solve this, I ended up redesigning the application to not use page flows in that instance. I also had a look at the number guess example application and could see that it had a h:commandButton in a page flow. I was going to tear that application apart and understand exactly how it works, but I never got around to it, I changed my design to not use pageflows for now, although I have started to use them again and I'm running into a problem where it seems you can't use page params in page flows :(
It's all good learning! Good luck with it :)