First, that propagation="end" was hard to find.  There was no example in the 
reference doc.  I think only recently it mentions for s:link that propagation 
accepts "end" as option.

Pete mentioned a while ago that "none" leaves the conversation sitting around, 
while "end" disposes of it.  So I'd like to use "end" more often, not to leave 
conversations around.

What's puzzling though is the following:

If in a my.page.xml for good reasons I have

<page>
  |  <begin-conversation join="true" />
  | </page>

and then in that page I also have an "exit" with

<s:link view="/myOther.xhtml" value="Outta Here" propagation="end" />

then what happens if when I get to myOther.xhtml the conversation is still 
there.  Actually I see its id passed in the URL with cid=1 even though in the 
URL there also is a conversationPropagation=end.

Now you folks who wrote that might think that's ok, but let's look at it as 
users of Seam.

That seems to be in contradiction to these ideas:  begin-conversation promotes 
when entering the page.  Then it is a long-running conversation.  
Propagation="end" should be effective on its way out of the page, leave the 
conversation behind.

I'm sure there is a reason.  I've been looking at figure 9-3 in the The Java EE 
5 Tutorial by Ball et al. when reading Seam reference section 6.1.  This still 
puzzles me.

I'm getting used to the fact that the there are requests (that I knew well from 
writing servlets) and responses trying hard to help give the appearance of 
objects in the UI, and there can be a redirect that makes things complicated.

But can I please have a begin-conversation and then offer the user a link outta 
there where he ends that conversation?  Simply?

For now I'll stick with propagation="none" though I think I want "end", no 
conversations lying around after "none".

Using a build from around March 15th.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033134#4033134

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033134
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to