In my app, whenever user clicks on some of the menu links I am starting the new
conversation and specifying the propagation=end on every menu link. My
expectation is to kill the current conversation whenever click on link. Right
now what's happening is its not complaining on creating the new
I recant. The s:link view=/myOther.xhtml action=#{conversation.end}
value=Outta Here / doesn't work like an action on the source page, but on
the target page.
Now I have tested it works to write one component like
import org.jboss.seam.annotations.Name;
| import
Of course propagation=end works the same as end-conversation / and @End -
that's certainly it's contract!. Remember that what end actually does is
demote the long running conversation to temporary. So, you demote your lrc to
temporary and hence the lrc context is still available at the next
Put a feature request in for beforeRedirect on s:conversationPropagation in JIRA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034238#4034238
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034238
Then how about introducing propagation=kill which mostly works like
propagation=none but doesn't let the conversation linger around until it
times out.
As I want to use these inside s:link/ and not inside navigation rules that
beforeRedirect=true doesn't work for me, does it?
View the
Pete, I think you're thinking of uses of s:link with action=some.action,
while...
I'm thinking of uses of s:link with view=/some.xhtml.
There is no action involved. I don't think there is a redirect. Right off to
the target page with a GET from a URL, render it, done.
I want to use s:link,
oic - oops.
Ok, I think that what you are after doesn't fit into the way Seam's
conversations work - it's this whole thing about end not ending a conversation,
just demoting it.
Put it in JIRA as a feature request and see what Gavin says - perhaps I'm wrong
- but especially as the
Found something that works as I want it to:
s:link view=/myOther.xhtml action=#{conversation.end} value=Outta Here /
Not sure whether to call that syntax sweet, but it seems to work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034364#4034364
Reply to the
I admit, you have to know what conversation to end. I looked closer at what
I'm doing, and the problem/question seems to be:
Should propagation=end end the conversation when entering the target page or
when leaving (!) the target (!) page?
I argue it should when entering, but it apparently
Um. Dude. How the hell am I supposed to know what conversation you want to end
when clicking the link if I don't pass the conversation id??!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033272#4033272
Reply to the post :
10 matches
Mail list logo