Hi Jason, A further look into it, it lloks like the parameter interceptor is not returning correct expected value, null instead causing FieldValidator to trigger the exception. The log didn't show the 'id' field validation error due to my overriding it on doValidation() method, which I overlooked on earlier post.
Do you still want the example code? Its rather large, I'll need to trim it down. thanks, /bernard ----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 11:58 AM Subject: RE: [OS-webwork] XWork: FieldValidator Can you send an example which breaks on the new code and works with the old? Thanks, Jason > -----Original Message----- > From: Bernardinus [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 12:41 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] XWork: FieldValidator > > > Hi all, > > Just grabed latest cvs code, running it against my last > week's app., the Field Validator now fails to validate text > string entered (I use 'requiresstring' field validator). It's > running ok 3 days ago, swapping to older jars work just fine. > --------------------------------- > Jun 9, 2003 11:32:26 AM com.opensymphony.xwork.util.LocalizedTextUtil > findText > WARNING: Unable to find text for key User ID must not be null > or empty string. Jun 9, 2003 11:32:26 AM > com.opensymphony.xwork.util.LocalizedTextUtil > findText > WARNING: Unable to find text for key User Id > Jun 9, 2003 11:32:26 AM com.opensymphony.xwork.util.LocalizedTextUtil > findText > WARNING: Unable to find text for key > You must enter a valid password. > > Jun 9, 2003 11:32:26 AM com.opensymphony.xwork.util.LocalizedTextUtil > findText > WARNING: Unable to find text for key Password > --------------------------------- > > I have a jsp which contains two control for a login page, > 'id' for user id and 'pwd' for password. The password fails > to validate, though the user id is ok. Where do I go wrong? > > thanks, > /bernard > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best thread debugger on the planet. Designed > with thread debugging features you've never dreamed of, try > TotalView 6 free at www.etnus.com. > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork