Matt, there is no Address-validator.xml in AppFuse. There is only User-validation.xml which I copied to the right place beneath 'src' folder.
Any other suggestion? Thanks, Martin mraible wrote: > > You'll need to copy the Address-validator.xml from > target/yourproject-version/WEB-INF/classes to src/main/resources. > > HTH, > > Matt > > On Mon, Jul 14, 2008 at 8:16 AM, Martin Homik <[EMAIL PROTECTED]> wrote: >> >> I'd like to change the user information in signup/profile. In principle, >> I'd >> like to hide the State/Provence input field. So I did the following >> steps: >> >> 1. copied User validation from target to src folder >> 2. out-commented the field with name "user.address.province" in the user >> validator >> 3. copied signup.jsp to src folder and out-commented the state/provence >> input field >> >> The result is: >> * The jsp does not display the state/province input field (as wished), >> but >> when I press the signup button I still get an error message that it is a >> required field. >> >> Does the overlay mechanism re-introduce the field validator from the >> original User-validation.xml, because it is missing in my overriding >> file? >> If yes, how can I change the field validator for "user.address.province" >> such that it is no required field any more? >> >> Thanks for your help, >> Martin >> -- >> View this message in context: >> http://www.nabble.com/Struts2--override-user-validator-tp18444843s2369p18444843.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts2--override-user-validator-tp18444843s2369p18458517.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]