Can you turn off 'request a receipt' when you post to a public newsgroup next time? Thanks.
To answer your question: Validator does not work with primitive type in older versions, if I remember correctly. I think they fixed it in the newer version, but not sure. -----Original Message----- From: Sharmila Pandith [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: Validator with integer Hi, My Validator does not seem to work with integer. Here is my form: public class ContentReleaseForm extends ValidatorForm { private int contentReleaseID = -1; private String contentReleaseName; private String month; private String day; private String year; private int genContentReleaseItemID = -1; private int genContentID; private String genSubject; private String genStatus; ............ Here is my validator code: <field property="genContentID" depends="required,integer"> <arg0 key="contentReleaseForm.general.contentID"/> <arg1 name="maxlength" key="${var:maxlength}" resource="false"/> <var> <var-name>mask</var-name> <var-value>^[0-9]*$</var-value> </var> </field> What am I doing wrong? S P --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]