My interceptor stack is as below
Please guide.
On Tue, Jul 13, 2010 at 4:27 PM, Amol Ghotankar wrote:
> Dear List members,
>
>
> I have implemented model driven & prepare able interface in S2, also
> included interceptor stac
2010/6/29 Greg Stasica :
> 2. get the MyBean object in getModel() method but i don't think this method
> should do any dao/business operations
You can always use Preparable interface
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
Hi Gianluca
Why do you do this ,s2 is use to replace on control layer of MVC and model
be put in valueStack on current thread,it 's diffcultly to visit it in
other thread!
--
From: "Gianluca Musella"
Sent: Monday, February 09, 2009 7:06 AM
To:
--- On Tue, 9/2/08, Ashlon wrote:
> http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html
> for Model 2
The original poster wasn't asking for a tutorial on MVC, but for ModelDriven,
an XWork interceptor/interface.
Dave
-
http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html for
Model 2
also this http://struts.sourceforge.net/community/1st.html has other links
for Java technologies
newton.dave wrote:
>
> --- On Tue, 9/2/08, Ashlon wrote:
>> I haven't completed this tutorial but this one loo
--- On Tue, 9/2/08, Roger wrote:
> I'm only using this stack as it's the out-of-the-box default.
> Should I be using something else?
I think the default stack is... defaultStack. You chose to define your default
stack as paramsPrepareParams. I'd only use paramsPrepareParams if you need what
it
On Tuesday 02 September 2008 16:33:35 Dave Newton wrote:
> --- On Tue, 9/2/08, Roger wrote:
> > The parameter "name" in the test case exists in the model
> > (TestQuotation) but not in the action (TestAction) and
> > Struts2 bleats in the Tomcat logs. It's definitely being
> > set in the model
>
>
--- On Tue, 9/2/08, Ashlon wrote:
> I haven't completed this tutorial but this one looks
> like a good one
>
> http://www.java-tips.org/java-tutorials/tutorials/
I don't see anything about Struts 2 there, let alone ModelDriven. Could you
provide a direct link to the relevant tutorial?
Dave
--
--- On Tue, 9/2/08, Roger wrote:
> The parameter "name" in the test case exists in the model
> (TestQuotation) but not in the action (TestAction) and
> Struts2 bleats in the Tomcat logs. It's definitely being
> set in the model
Like I said, it can be ignored, and the link I provided seems to in
I haven't completed this tutorial but this one looks like a good one
http://www.java-tips.org/java-tutorials/tutorials/
Roger Varley wrote:
>
> Can anyone point me to a tutorial/howto on how to use Model Driven. I've
> been
> experimenting and I've verified that the parameters on the model
On Tuesday 02 September 2008 15:42:53 Dave Newton wrote:
> --- On Tue, 9/2/08, Roger wrote:
> > Here is a stripped down version that shows the error
> > message appearing in the Tomcat logs.
>
> Do you mean if you submit addressLine1 on a model that doesn't have that
> property? Yeah, that'll log a
--- On Tue, 9/2/08, Roger wrote:
> Here is a stripped down version that shows the error
> message appearing in the Tomcat logs.
Do you mean if you submit addressLine1 on a model that doesn't have that
property? Yeah, that'll log an ERROR. If you don't care that you're sending a
parameter you kno
On Tuesday 02 September 2008 00:08:40 Dave Newton wrote:
> --- On Mon, 9/1/08, Roger wrote:
> > One of the (many) messages I'm seeing is;
> > 02-Sep-2008 00:03:39
> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
> > setParameters
> > SEVERE: ParametersInterceptor - [setParameters]: Un
>
> Top action? The "ordered" property doesn't have so much to do with "top
> actions" as with making sure that nested properties are set in order, as
> determined by the number of dots in the parameter name.
>
> Not sure how that would be related to his ModelDriven issue, although it's
> hard to s
Good lord man, fix your line feeds.
--- On Mon, 9/1/08, Martin Gainty wrote:
> > > > That's kinda why I was asking for a
> tutorial/howto for> > > beginners before I make an
> idiot of myself - particularly> > > in light of my
> recent post in the tag :-(> >>
> > Since it's already too late you m
> > > That's kinda why I was asking for a tutorial/howto for> > > beginners
> > > before I make an idiot of myself - particularly> > > in light of my
> > > recent post in the tag :-(> >> > Since it's already too late
> > > you might as well post it then ;)> >> > I don't know of any tutorials,
--- On Mon, 9/1/08, Roger wrote:
> One of the (many) messages I'm seeing is;
> 02-Sep-2008 00:03:39
> com.opensymphony.xwork2.interceptor.ParametersInterceptor
> setParameters
> SEVERE: ParametersInterceptor - [setParameters]: Unexpected
> Exception caught
> setting 'addressLine1' on 'class
> co
On Monday 01 September 2008 23:43:14 Dave Newton wrote:
> --- On Mon, 9/1/08, Roger wrote:
> > That's kinda why I was asking for a tutorial/howto for
> > beginners before I make an idiot of myself - particularly
> > in light of my recent post in the tag :-(
>
> Since it's already too late you migh
--- On Mon, 9/1/08, Roger wrote:
> That's kinda why I was asking for a tutorial/howto for
> beginners before I make an idiot of myself - particularly
> in light of my recent post in the tag :-(
Since it's already too late you might as well post it then ;)
I don't know of any tutorials, although
On Monday 01 September 2008 23:19:31 Dave Newton wrote:
> --- On Mon, 9/1/08, Roger wrote:
> > Yes, I'm in devMode and using Struts 2.0.11. Maybe I
> > was just panicing because it shows as a SEVERE error.
>
> It shouldn't; you may want to post some code, config, and stack trace.
>
That's kinda wh
--- On Mon, 9/1/08, Roger wrote:
> Yes, I'm in devMode and using Struts 2.0.11. Maybe I
> was just panicing because it shows as a SEVERE error.
It shouldn't; you may want to post some code, config, and stack trace.
Dave
-
To un
On Monday 01 September 2008 22:46:00 Dave Newton wrote:
> --- On Mon, 9/1/08, Roger wrote:
> > If the parameters are being set & retrieved from the model
> > why do I need to provide getters & setters in the action?
>
> You don't. Are you in devMode? What version are you using?
>
Yes, I'm in devMo
--- On Mon, 9/1/08, Roger wrote:
> If the parameters are being set & retrieved from the model
> why do I need to provide getters & setters in the action?
You don't. Are you in devMode? What version are you using?
Dave
-
To un
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-doesn%27-t-work-as-property-in-a
I saw too that in your start.jsp page you used:
Which I don't know if will work. Actions that implements ModelDriven
interface push the model into the value stack, so you don't need to
write "model.page", but only "page".
I will eventually publish my current implementation...
2008/5/22, Canny
I tried to change to order of the interceptors, but without any success.
The model is still not set.
You implemented the post-redirect-get pattern in your own implementation?
Is it possible to publish your implementation?
Gabriel Belingueres-2 wrote:
>
> I certainly did not use any of these co
I certainly did not use any of these conversation implementations (I
decided to write my own) but I suspect that you have defined the
interceptors in the opposite order: I think you should first set to
execute the defaultStack and then call the conversation interceptor.
2008/5/22, Canny Duck <[EMA
This looks like a much better form! I'll try it once I get booted up and
let you know.
Scott
On 3/23/07, Ted Husted <[EMAIL PROTECTED]> wrote:
What happens if the new (and preferred) key form is used instead?
-T.
On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I discovered som
What happens if the new (and preferred) key form is used instead?
-T.
On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I discovered something strange today after adding logging to my domain
classes. If I have the following text field on my web page:
the Zip is being r
On 9/6/06, Martin Kindler <[EMAIL PROTECTED]> wrote:
Hi Artem,
this is an interesting question.
Some years ago I was involved in the design of a system which used a XML and
XSLT to translate the content to various output formats (not only
XML-based). It was an elegant solution but also a hard wa
And if your looking for an AJAX solution, AjaxParts Taglib (APT) in Java
Web Parts (JWP) offers an XSLT response handler that does its work on
the client, and as is typical with APT, it's all done without you
writing any code yourself...
http://javawebparts.sourceforge.net
Click on the javado
One note to what Martin and Antonio said.
If you can live with what browsers make out of your xslt/xml then go
for it. Having the rendering on your server is a huge performance
break.
But if you can let the browser do the rendering, than its a very cool
alternative.
regards
Leon
On 9/6/06, Artem
Artem Zhmurov ha scritto:
Maybe someone already using that scheme (or have
tried to use)?
Check out StrutsCX and STXX:
http://it.cappuccinonet.com/strutscx/index.php
http://stxx.sourceforge.net/
These links are only to help you but I agree with the things Martin wrote.
Ciao
Antonio
--
Thanks a lot for all ur help
--
Rafael Taboada
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
image.)
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 11:10 AM
To: Struts Users Mailing List; Rafael Taboada
Subject: Re: Model
The MailReader example bundled with Struts 1.2 is a very excellent
demonstration of implementing a model layer.
The MailReader example bundled with Struts 1.2 is a very excellent
demonstration of implementing a model layer. Just substitute something
like iBATIS or Hibernate for the database access.
HTH, Ted.
On Wed, 30 Mar 2005 13:24:18 -0500, Rafael Taboada
<[EMAIL PROTECTED]> wrote:
> Hi folks.
>
> I'
Rafael-
Did you take a look at
http://daoexamples.sourceforge.net/xref/index.html
Saludos,
Martin-
- Original Message -
From: "Rafael Taboada" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 30, 2005 1:24 PM
Subject: Model
> Hi folks.
>
> I'm developing on struts and I don't know how
37 matches
Mail list logo