--- On Wed, 11/12/08, Martin Gainty wrote:
> can we see the code for net.dg.oe.user.UserAction.java?
> specifically which ActionForward (s) are returned from
> net.dg.oe.user.UserAction class

Hopefully no ActionForwards are returned in an S2 application.

> > From: [EMAIL PROTECTED]
> > Here is my package xml:
> > [...]
> > <action name="UserAction" class="net.dg.oe.user.UserAction">
> >   <result type="tiles" name="input">user.form</result>
> >   <result type="chain" name="error">user.form</result>
> >   <result type="chain">UserHome</result>
> > </action>

This line confuses me a little; it looks like there's a tile name for a chain 
result type.

Note that chaining is generally considered a bad practice for a variety of 
reasons; even in your short example I got confused following the UserHome 
result, which is *two* chains. Is that really necessary? Are you aware of the 
acton redirect result type? I've just never seen this many chains in such a 
small config file before.

Answering the question, however, will require a bit more information: I'm not 
convinced that UserAction just "displays information" since there looks to be a 
form in it.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to