This content has been marked as final.
Show 1 reply
-
1. Re: page params and h:commandButton
ericjava.eric.chiralsoftware.net Sep 26, 2008 2:54 AM (in response to ericjava.eric.chiralsoftware.net)Ah, I found this: http://seamframework.org/Community/AreParametersSupposedToPropagateWithHcommandButton
Peter Muir:
It's automatically added to <s:link/> or <s:button/>, you have to add it to h:commandLink using <f:param /> and you can't with <h:commandButton/> (as it doesn't accept <f:param/>s.
The transparent propagation refers to the fact that when you submit the form it will be propagated in the page context (not on the URL). Take a look at how I implemented <s:conversationPropagation /> for command buttons if you really need to do this (it's not pleasant).So, no luck in using page params with commandButton. I'll use a conversation or do something else.