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
[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
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
/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
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
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
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
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
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
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
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
[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
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
--- 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
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
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
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
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
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
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
, 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
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
22 matches
Mail list logo