What do you want to validate about that field?

> -----Original Message-----
> From: Taavi Tiirik [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, November 23, 2003 8:04 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] validator for the optional int field
> 
> 
> How should I write a validator for the optional int field in ww2?
> 
> I have getter and setter in my action:
> public int getYear(){ return year; }
> public void setYear( int year ){ this.year = year; }
> 
> input field is defined like this:
> #tag( TextField "label='year'" "name='year'" "value=year" "size='5'" )
> 
> What should I put into action-validation.xml?
> 
> Taavi
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to