Néstor, thank for you reply... but:

I have it all like you say (I don't know what do you mean with "You must
have de validation and workflow interceptors configured" I have the struts
file by default, I haven't configured any interceptor. Have I to do it?).

I have put the result "input" but always go to result "success" like if all
fields are OK. :-(


2008/10/14 Néstor Boscán <[EMAIL PROTECTED]>

> The way it worked for me was:
>
> 1.- You have to extend ActionSupport because it contains the fieldErrors,
> actionErrors attributes and the validation logic.
> 2.- I use <s:fielderror><s:param>dniParticipante</s:param></s:fielderror>
> 3.- You must have de validation and workflow interceptors configured
> 4.- You must have an "input" result because in case of a validation error
> the workflow interceptor will ALWAYS return the "input" result.
> 5.- If you want javascript validation you must use <s:form ...
> validate="true"/>
>
> Nestor
> On Tue, Oct 14, 2008 at 10:08 AM, Lukasz Lenart <
> [EMAIL PROTECTED]> wrote:
>
> > 2008/10/14 Juanjo Cuadrado <[EMAIL PROTECTED]>:
> > > No... but this too I have tried it :(
> >
> > Are you extending you package from struts-default?
> >
> >
> > Regards
> > --
> > Lukasz
> > http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to