Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-75 Here is an overview of the issue: --------------------------------------------------------------------- Key: XW-75 Summary: Validation framework does not work for properties of sub-objects Type: Bug Status: Assigned Priority: Major Project: XWork Fix Fors: 1.0 Versions: 1.0 Assignee: Jason Carreira Reporter: Jason Carreira Created: Sat, 16 Aug 2003 6:47 PM Updated: Sat, 16 Aug 2003 6:47 PM Description: Ian sent this: I have just started to use the validation framework, and am coming up with some issues. Not sure if I am not doing things correctly, or whether this is a bug. I am creating a simple registration class - which uses a User object with setters and getter for username and password, as well as a confirmPassword field in the RegisterUserAction. So: User has getPassword() setPassword() RegisterUserAction has: getUser() setUser() getConfirmPassword() setConfirmPassword() In the register.jsp I have the fields as: <ww:password label="prompt.password" name="user.password" /> The RegisterUserAction-validation.xml entry as: <field name="user.password"> <field-validator type="required"> <message>error.value.required</message> </field-validator> </field> The JSP is correctly obtaining and displaying the i18n'd messages for the field name as well as the validation message, but when I enter a value for the password - the validation is not occurring and when I have typed data into the textfield the validation message remains (I can see the data I entered as well as the validation message). Hope there is some help out there :) /Ian --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork