If you're using a String property, and you want "" to be invalid, then you should use the RequiredStringFieldValidator
> -----Original Message----- > From: Samuel Mota [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 10:00 AM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] XWVF Interceptor > > > > Another problem that I saw ... > > at RequiredFieldValidator.java .... > > the value is being compare with null [if(value == null))] but > the value contains an empty string instead null after the > line Object value = this.getFieldValue(fieldName, object); > > What was expected? > > (yes, the field is empty at the web form) > > + Samuel G. Mota > + [EMAIL PROTECTED] > + 55 (11) 4417 7093 > + Business Application Dpt. > + Netset Serviços em Tecnologia > + a Hypercom Company > + http://www.hypercom.com > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork