You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 7 Members of 4087 |
| Forum: Seam Users |
02. May 2008, 17:25 CET | Link |
So I'm in a page flow, and I'm been having problems getting around some parts of it, some buttons trigger transitions while others don't. I've made it real simple and used the following :
<h:commandButton action="updated" value="h:command update" /> <h:commandButton action="updated" value="h:command update (immediate)" immediate="true" /> <s:button action="updated" value="s:button update" />
The h:command button doesn't transition. The h:command button with immediate set to true does transition The s:button does transition.
The pageflow is active and working, the fact that some buttons work verifies that. I'm just wondering whether I missed something where pageflow transitions don't work for h:commandButtons (even though the documentation claims they do)?
Cheers,
Andy Gibson
1 Reply: | ||
|---|---|---|
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 Regards, Ronald A kind jBPM user and forum addict |
It's a job that's never started that takes the longest to finish. - J.R.R. Tolkien
---------- www.andygibson.net ----------