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