-
1. Re: How to abandon a conversation?
pmuir Oct 5, 2007 6:43 AM (in response to stephen.friedrich)Similar means any JSF component which takes embedded f:param's and embed's them in it's submission.
-
2. Re: How to abandon a conversation?
stephen.friedrich Oct 5, 2007 7:54 AM (in response to stephen.friedrich)Thanks, Pete! Turned out it _is_ working with tr:commandNavigationItem, I only tested with the wrong menu level :-(
Anyway, I think the documentation should be improved:
* "similar" => "any other JSF component that embeds a child f:param into its submission".
* "Facelets only." => "Facelets only - JSP users can instead directly use "<f:param name="conversationPropagation" value="none">"
I have not tested the last suggestion, but it should work, right? -
3. Re: How to abandon a conversation?
jacob.orshalick Oct 5, 2007 9:33 AM (in response to stephen.friedrich)"pete.muir@jboss.org" wrote:
JSP users can instead directly use "<f:param name="conversationPropagation" value="none">"
Yes Stephen, that will work. Embedding the f:param inside an <h:commandLink /> or similar component will have the same effect for JSP users. I agree that the documentation could use improvement there as I've seen a few other posts recently about this.
Pete, you say"pete.muir@jboss.org" wrote:
Similar means any JSF component which takes embedded f:param's and embed's them in it's submission.
The documentation states "for a command link or button (or similar JSF control)." From my recollection (and my testing), h:commandButton does not accept f:param. So should this be specified in the documentation? -
4. Re: How to abandon a conversation?
pmuir Oct 5, 2007 9:46 AM (in response to stephen.friedrich)Jacob, http://jira.jboss.com/jira/browse/JBSEAM-1899
I need to check the claim that it only works in Faclets - I think it should work in JSP now. -
5. Re: How to abandon a conversation?
jacob.orshalick Oct 5, 2007 10:07 AM (in response to stephen.friedrich)From testing, s:conversationPropagation works embedded in an h:commandLink for JSPs, just as f:param works so the docs should definitely be updated.
The hidden form field is how I would expect it to work for an h:commandButton, but unfortunately just as specified in the bug report it does not work. I cannot speak to the latest from CVS, but s:conversationPropagation does not generate a hidden input for JSPs when embedded in an h:commandButton (and I would assume this issue also exists with Facelets as per http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120380.
Thanks. -
6. Re: How to abandon a conversation?
pmuir Oct 5, 2007 10:17 AM (in response to stephen.friedrich)Jacob, if you would file a issue about updating the docs for the controls which claim to be facelets only it would be great :)
Sure, its currently an issue. We'll get a fix into the 2.0.1 release -
7. Re: How to abandon a conversation?
jacob.orshalick Oct 5, 2007 10:25 AM (in response to stephen.friedrich)Done. Please see:
http://jira.jboss.com/jira/browse/JBSEAM-2048
Thanks for the information Pete :)