I think having two results named "input" might be confusing.
--- On Sat, 11/15/08, veerapaneni <[EMAIL PROTECTED]> wrote:
> When you use validation, the action declaration expects an
> input option.
>
> So, change:
>
>
> user.form
> user.form
> UserHome
>
>
>
> as
>
>
tUsers
>
>
>
> method="list">
> user.list
>
>
>
>
> user.form
> user.form
> UserHome
>
>
>
>
AbstractCRUDAction and the action method
ListUsers is probably defined in your AbstractCRUDAction. Therefore your
should define validation rules for this action in a configuration file
AbstractCRUDAction-ListUsers-validation.xml.
Another useful way is using annotations for validation, but this is ano
ot the action class. I guess I
misunderstood.
Thanks,
lathjer
--
View this message in context:
http://www.nabble.com/Validation-causing-me-problems-tp20471257p20486313.html
Sent from the Struts - User mailing list archive at Nabble.com.
display. I am calling that in the jsp with this tag .
As you can see the UserAction class also add/edit or deletes users from a
form on a different tile.
Thanks,
lathjer
-----
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
--- 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
800
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: Validation causing me problems
>
>
> I am new to Struts 2 and I can say that I am enjoying it but I am having a
> hurdle I can't seem to figure out.
>
> I am working on getting validation done w
context:
http://www.nabble.com/Validation-causing-me-problems-tp20471257p20471257.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
8 matches
Mail list logo