Re: Problem with required validator

2010-10-05 Thread Darren Karstens
Thanks for the replies. I figured out what the problem was. My model in the action class is a member variable called user, so I needed to change the name of my form fields and validator fields to user.userName instead of just userName. 2010/10/5 Raymond He : > You can debug your app,and step in th

Re: Problem with required validator

2010-10-05 Thread Raymond He
You can debug your app,and step in the required validator class'validation method. And check whether the value is populated . Maybe it'snull . 2010/10/5, Darren Karstens : > Hi, > I have a xml validator for my user login action which requires values > for both the userName and password fields. How

Re: Problem with required validator

2010-10-05 Thread Dave Newton
Without knowing specifically how the validator is configured (where is the validation file when it's deployed, how the action is configured, the form itself, etc.) it's tough to give much beyond "make sure it's configured correctly." Dave On Tue, Oct 5, 2010 at 7:52 AM, Darren Karstens wrote: >

Problem with required validator

2010-10-05 Thread Darren Karstens
Hi, I have a xml validator for my user login action which requires values for both the userName and password fields. However when submit the form with these fields populated I still get the same "Username is required" and "Password is required" messages. Am I right in thinking that the "required" v