-
1. Re: How to not propagate conversations??
brachie Jan 19, 2008 3:20 AM (in response to mschmidke)@MSchmidke: Hallo Landsmann ;-)
my Seam app has nearly the same structure as yours (RichFaces DropdownMenu and conversational pages).
As fas as I understood, creating new conversations and letting existing conversations timeout (this is the case when using propagation=none for menu-link) is ok and not a "bad thing". But if there is any other proper way of doing what we want (explicit end the current conversation from menu) I would also be interested in the solution.
Greetings from Germany,
Alexander -
2. Re: How to not propagate conversations??
sztank Jan 19, 2008 4:02 AM (in response to mschmidke)Hello,
I had the similiar situation and will be very interested in finding the right solution. Actually I stop using conversations due to the fact that it will be hard to me to understand well how they should be used in the situations like this. Although I like the concept! -
3. Re: How to not propagate conversations??
pmuir Jan 19, 2008 5:05 PM (in response to mschmidke)If you want to "cancel" a conversation, use a propagation of end.
-
4. Re: How to not propagate conversations??
mschmidke Jan 19, 2008 5:35 PM (in response to mschmidke)"pete.muir@jboss.org" wrote:
If you want to "cancel" a conversation, use a propagation of end.
Yes ... I tried ... but the point is that "end" does not seem to work for many of us, and I really do not understand why.
@End annotation always works as expected, but "end" propagation does nothing understandable. -
5. Re: How to not propagate conversations??
pmuir Jan 19, 2008 5:54 PM (in response to mschmidke)Can you show us code where it does not work?
-
6. Re: How to not propagate conversations??
mars1412 Feb 15, 2008 6:41 AM (in response to mschmidke)"MSchmidke" wrote:
Seam 2.0.0.GA, Facelets
A propagation of "none", however, works like expected. New conversations are started every time, and the old ones hang around unused until timed out. But this is not what I want - in fact, I want to cancel the conversation when the menu is selected. This isn't unusual, I think, so I am sure I am doing something completely wrong, or?
is this what you mean:
case 1)- the user clicks on menu-link: 1st page is opened, 1 conversation started
- user clicks cancel on this page: everything ok - non conversation open
case 2)- the user clicks on menu-link: 1st page is opened, 1 conversation started
- user does not click cancel in the page: conversation is still open
- the user clicks on menu-link again: 1st page is re-opened, 1 new conversation started, old one is still around
- and what you want is: when the link is clicked and there is an open conversation, the link should end the old open conversation?
is that what you mean?
- the user clicks on menu-link: 1st page is opened, 1 conversation started
- the user clicks on menu-link: 1st page is opened, 1 conversation started
-
7. Re: How to not propagate conversations??
mschmidke Feb 15, 2008 7:57 AM (in response to mschmidke)Exactly! Yes!
-
8. Re: How to not propagate conversations??
mars1412 Feb 15, 2008 8:26 AM (in response to mschmidke)I think it is possible to set the conversation id on your own (I never used it)
so if you click the link again and this conversation already exists, you could continue it (I think)
I know: that's not exactly what you want - but maybe this is also ok in your case?