Re: Can you send a null value to a form in Struts (1.1)?

2003-06-12 Thread Sandeep Takhar
Other than strings and booleans, you cannot set the type you want. Maybe you can always set an equivalent 'null' string that you can check for in the validator. Unfortunately I haven't used the validator yet. sandeep --- Joe @ Team345 [EMAIL PROTECTED] wrote: Hi, Sorry if this is an oft

RE: Can you send a null value to a form in Struts (1.1)?

2003-06-12 Thread Kandi Potter
I believe that, in general, parameters passed to the ActionForm from the jsp should be strings. You can edit for numeric in the validate() method. Of course there are exceptions, boolean for checkboxes for example. I'll state this and let someone correct me if I am wrong please.

Can you send a null value to a form in Struts (1.1)?

2003-06-11 Thread Joe @ Team345
Hi, Sorry if this is an oft asked question, but I just joined the list as I was unable to find the answer elsewhere. I'm using StrutsRC 1.1 (with webdoclet/xdoclet going to jboss). My question is basically in the subject: If I have a java Integer class on a form, can I send a null value to