model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Canny Duck
Hi, I want to implement a process with more than one step and a model in a conversation scope. To realize that I used the Struts 2 scope plugin. To implement the post-redirect-get pattern I have a result type of redirect-action. This behave is required. The attached demo implementation worked

Re: model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Gabriel Belingueres
[EMAIL PROTECTED]: Hi, I want to implement a process with more than one step and a model in a conversation scope. To realize that I used the Struts 2 scope plugin. To implement the post-redirect-get pattern I have a result type of redirect-action. This behave is required. The attached demo

Re: model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Canny Duck
to implement a process with more than one step and a model in a conversation scope. To realize that I used the Struts 2 scope plugin. To implement the post-redirect-get pattern I have a result type of redirect-action. This behave is required. The attached demo implementation worked fine

Re: model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Gabriel Belingueres
/5/22, Canny Duck [EMAIL PROTECTED]: Hi, I want to implement a process with more than one step and a model in a conversation scope. To realize that I used the Struts 2 scope plugin. To implement the post-redirect-get pattern I have a result type of redirect-action. This behave

Re: model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Canny Duck
s:property value=model.page / is the correct use, because I don't use the ModelDriven interface. The conversation object is just called like this. It would be great if you publish your current implmentation. :-) -- View this message in context: http://www.nabble.com/model-conversation-scope

Re: Conversation Scope?

2008-03-05 Thread Othon Reyes Sanchez
Belingueres wrote: I thought that a possible explanation would be to keep the view (JSP) pages unaware of the scope of the variables it uses but honesty I'm not fully convinced of the gain I can achieve with this practice. I've developed a conversation scope interceptor I'm using in my projects

Re: Conversation Scope?

2008-03-04 Thread Gabriel Belingueres
Why model-driven? I don't fully get it. I've done several S2 apps by now and never fell the time to use the model driven interface before (for me this is syntax sugar.) Now why is this important for supporting conversation scope? Is it for not writing code like ${conversationsMap[conversationId

Re: Conversation Scope?

2008-03-04 Thread Martin Gainty
PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, March 04, 2008 8:00 AM Subject: Re: Conversation Scope? Why model-driven? I don't fully get it. I've done several S2 apps by now and never fell the time to use the model driven interface before (for me this is syntax sugar

Re: Conversation Scope?

2008-03-04 Thread Gabriel Belingueres
Well at this point I'm not proposing nothing in particular, just trying to understand the rationale behind this relation between conversation scope and model driven, which is not clear to me why it is designed this way. I thought that a possible explanation would be to keep the view (JSP) pages

Re: Conversation Scope?

2008-03-04 Thread Roberto Nunnari
wrote: Well at this point I'm not proposing nothing in particular, just trying to understand the rationale behind this relation between conversation scope and model driven, which is not clear to me why it is designed this way. I thought that a possible explanation would be to keep the view (JSP

Re: Conversation Scope?

2008-03-04 Thread Dave Newton
in particular, just trying to understand the rationale behind this relation between conversation scope and model driven, which is not clear to me why it is designed this way. I thought that a possible explanation would be to keep the view (JSP) pages unaware of the scope of the variables it uses

Re: Conversation Scope?

2008-03-04 Thread Martin Gainty
[EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, March 04, 2008 11:49 AM Subject: Re: Conversation Scope? Well at this point I'm not proposing nothing in particular, just trying to understand the rationale behind this relation between conversation scope

Re: Conversation Scope?

2008-03-04 Thread Roberto Nunnari
Yes.. that's probably where my confusion/misunderstanding came from. Thank you both and best regards. -- Robi Dave Newton wrote: --- Martin Gainty [EMAIL PROTECTED] wrote: looking at the doc for ModelDriven http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/ModelDriven.htm l

Re: Conversation Scope?

2008-03-04 Thread Dave Newton
--- Martin Gainty [EMAIL PROTECTED] wrote: looking at the doc for ModelDriven http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/ModelDriven.htm l we see the method Object getModel() Returns: the model to be pushed onto the ValueStack instead of the Action itself It also

Re: Conversation Scope?

2008-03-04 Thread Jeromy Evans
Gabriel Belingueres wrote: I thought that a possible explanation would be to keep the view (JSP) pages unaware of the scope of the variables it uses but honesty I'm not fully convinced of the gain I can achieve with this practice. I've developed a conversation scope interceptor I'm using in my

Re: Conversation Scope?

2008-02-24 Thread Adam Hardy
Is it worth building a mechanism for conversation scope, compared to the complexity it introduces? I really dislike Spring Webflow with its conversation scope, stringent encapsulation and storage of massive amounts of data in various maps that locks away everything out of sight and makes it all

Re: Conversation Scope?

2008-02-24 Thread Ray Clough
for conversation scope, compared to the complexity it introduces? I really dislike Spring Webflow with its conversation scope, stringent encapsulation and storage of massive amounts of data in various maps that locks away everything out of sight and makes it all taste like it's been massively over

Re: Conversation Scope?

2008-02-24 Thread Jeromy Evans
no experience with Spring, and every time I touch it everything breaks. Guice sounds like a nicer solution, but there is not much tutorial info on it. Thanks, - rc Adam Hardy wrote: Is it worth building a mechanism for conversation scope, compared to the complexity it introduces? I really dislike Spring

Re: Conversation Scope?

2008-02-23 Thread Jeromy Evans
Hi Ray, I'm not sure, but check out Tom's new scope plugin as it may get you part of the way there. http://cwiki.apache.org/S2PLUGINS/scope-plugin.html I was just reading one of your rants from August 07 that mentioned the need to use ModelDriven's model across a conversation and think this

Re: Conversation Scope?

2008-02-23 Thread Ray Clough
Thanks Jeromy. (usually my wife is the only one who notices my 'rants'). -rc Jeromy Evans wrote: Hi Ray, I'm not sure, but check out Tom's new scope plugin as it may get you part of the way there. http://cwiki.apache.org/S2PLUGINS/scope-plugin.html I was just reading one of your rants

Conversation Scope?

2008-02-22 Thread Ray Clough
, etc. Thanks, Ray Clough -- View this message in context: http://www.nabble.com/Conversation-Scope--tp15648166p15648166.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Struts 1.x rollover scope (a.k.a. conversation scope or flash scope)

2007-02-06 Thread Michael Jouravlev
I uploaded a working example of rollover scope for Struts 1.x, see wiki for some docs and for the sample app itself: http://wiki.apache.org/struts/RolloverScope M.J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional