struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Validation, ModelDriven and Field Errors
Date Wed, 28 Mar 2007 15:59:47 GMT
--- Juan Espinosa <pcexplorer@adinet.com.uy> wrote:
> Then i change the action to an action that
> implements ModelDriven, when i do this changes the 
> errors next to the controls doesnt appear any more.
I
> must add in the jsp page the tag  <s:fielderror/> to

> get the errros.
> 
> Anyone knows why the errors doesnt appear ??????????

How are you naming your form fields, both on the JSP
and in the validation? Are you still using the
modelClass.fieldName or just fieldName, and are they
the same in both the JSP form fields and validation
file?

d.



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message