[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-02-03 Thread [EMAIL PROTECTED]
It depends on the use case - if the user is navigating away, I don't think ending the conversation is what you want to do (take a look at how seamframework.org works). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125919#4125919 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-31 Thread javichi_fer
The problem I find when setting propagation=none on my navigation links is that the conversation is not ended and is maintained on memory untill it expires. Wouldn't it be better to set propagation=end? View the original post :

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-10 Thread chris.simons
I think part of the problem here is that outside of a few, small example applications provided by the gracious Seam team, there are no true examples of a large, enterprise-level application properly using Seam conversations. Seam is so closely coupled with conversations that there is no true

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-10 Thread [EMAIL PROTECTED]
Chris, Interesting post. Thanks for the feedback. We do have one large scale app written in Seam in the examples dir - the wiki example which is the basis of the new Seam community site (which is up and running). The problem with large example apps is that they are hard to understand which

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-10 Thread chris.simons
Pete, Thanks for not taking my post harshly as it wasn't meant to be as such. I, for one, am extremely appreciative of what all of you are doing to evolve Seam and to engage the end-user as much as possible, through these forums and elsewhere. We *had* been setting propagation=none on most

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-10 Thread gus888
[EMAIL PROTECTED] wrote : My tip is to avoid starting conversations from navigation links (those links that take you to other areas of the app), always make navigation disable conversation propagation, and just use conversations *within* each area of the app.Excellent tip! Thank you very much,

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-05 Thread trouby
gus888 wrote : [EMAIL PROTECTED] wrote : Have you taken a look at the way seam-gen does it? It produces a pageable, bookmarkable search screen that saves the search criteria without using a conversation. | I went through all seam examples, and I found the following search beans: | | 1.

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread trouby
[EMAIL PROTECTED] wrote : trouby wrote : Well, sorry for being so annoying but I still don't get the point, If I have buttons that should start a conversation, propagation='none' is not an option | | Normally I find that you don't want to start a new conversation whilst another one is

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread schlafsack
[EMAIL PROTECTED] wrote : Post your use case for this. If I understand the topic of this thread, I *think* I've come up against a similar problem in the search application I'm writing to learn seam. My application has one page with a text box, a button, a results table and next/previous

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread [EMAIL PROTECTED]
schlafsack wrote : [EMAIL PROTECTED] wrote : | | | * submitting a search query using the button. | | | * navigation forwards though the results using the next link. | | | * navigation backwards though the results using the previous link. | | | | | | | I'd also

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread [EMAIL PROTECTED]
trouby wrote : My case? I think it's any case with buttons that always exist on the template, | | Lets make an example: | I have a top menu(that is always with visible) with few options, | [my items: a, b, c, d] | | Pressing on one item should start a conversation, as this item is

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread schlafsack
[EMAIL PROTECTED] wrote : | Normally you wouldn't make a search screen conversational. Why do you want to make it conversational? | I wanted to be able to provide search refinement and result paging/navigation, thus storing per-search state, and allow multiple searches per session. It

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread gus888
[EMAIL PROTECTED] wrote : Normally you wouldn't make a search screen conversational. Why do you want to make it conversational? Hi Pete, in fact, I want to make my search screen conversational, because I need to save some search criteria, e.g. searching a classmate, it need to first select a

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread [EMAIL PROTECTED]
Have you taken a look at the way seam-gen does it? It produces a pageable, bookmarkable search screen that saves the search criteria without using a conversation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117196#4117196 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread gus888
[EMAIL PROTECTED] wrote : Have you taken a look at the way seam-gen does it? It produces a pageable, bookmarkable search screen that saves the search criteria without using a conversation. I went through all seam examples, and I found the following search beans: | 1. booking -

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
trouby wrote : I still don't get it, what about links that -should- start a new conversation? is it possible to combine begin/end annotations together for the same method? like ending the current conversation and starting a new one? Yes, but you have to end the current conversation before a

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
gus888 wrote : No, you didn't do anything wrong. As I posted above, the @Begin in booking example always was invoked in the same bean (hotelBooking), so no exception thrown. What Seam component conversation demarcation is expressed in has no effect on conversation boundaries or behaviour.

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
trouby wrote : So if the same method that is annotated with @begin is invoked within the same bean -instance- a new conversation is created without exception? No, this is not true. anonymous wrote : what's the difference between a new conversation starting from the same bean instance or from

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
trouby wrote : Well, sorry for being so annoying but I still don't get the point, If I have buttons that should start a conversation, propagation='none' is not an option Normally I find that you don't want to start a new conversation whilst another one is running. Post your use case for this.

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-01 Thread gus888
trouby wrote : what's the difference between a new conversation starting from the same bean instance or from different bean instance? | I think that they are the same. Both of them create new conversations with new ids. trouby wrote : | why the behavior is different? | I think that this

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-01 Thread trouby
Alright, Well, sorry for being so annoying but I still don't get the point, If I have buttons that should start a conversation, propagation='none' is not an option, big part of my buttons start a new conversation, so no matter what, I find myself adding join=true, at least for these buttons,

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread trouby
Hey, I still don't get it, what about links that -should- start a new conversation? is it possible to combine begin/end annotations together for the same method? like ending the current conversation and starting a new one? btw, I have a seam link which invoke an method that is annotated with

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread gus888
trouby wrote : I guess I'm doing something wrong, as in seam booking example the 'setHotel' is annotated with @Begin and can be invoked many times without this exception No, you didn't do anything wrong. As I posted above, the @Begin in booking example always was invoked in the same bean

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread trouby
So if the same method that is annotated with @begin is invoked within the same bean -instance- a new conversation is created without exception? what's the difference between a new conversation starting from the same bean instance or from different bean instance? why the behavior is different?

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread gus888
For How to control end of conversations: I have the same problem. I think that it is critical issue for the core (conversation) of Seam. The Seam forum here suggested that you use propagation=none to all other buttons and links which users can reach and propagate away from the current

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread [EMAIL PROTECTED]
gus888 wrote : My previous suggestion is that as long as system run a @Begin, system should put current foreground conversation to background (let system timeout clean) and start a new foreground conversation (if the conversation id is automatically created by system). Currently, in the Seam,

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread [EMAIL PROTECTED]
gus888 wrote : For How to control end of conversations: | I have the same problem. I think that it is critical issue for the core (conversation) of Seam. The Seam forum here suggested that you use propagation=none to all other buttons and links which users can reach and propagate away from

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread gus888
[EMAIL PROTECTED] wrote : gus888 wrote : For How to control end of conversations: | | I have the same problem. I think that it is critical issue for the core (conversation) of Seam. The Seam forum here suggested that you use propagation=none to all other buttons and links which users can

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread [EMAIL PROTECTED]
This is correct, I don't see why putting propagate=none for all menu type links is a problem... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=411#411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=411

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread gus888
[EMAIL PROTECTED] wrote : I don't see why putting propagate=none for all menu type links is a problem...Hi Pete, really, it is not a problem, but what I mean whether it is possible let Seam system to do the propagate=none job for a conversation once a user propagates away from the conversation