Nah...want to avoid all client scripting except JavaScript validation.

-----Original Message-----
From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:22 PM
To: [EMAIL PROTECTED]
Subject: Re: <html:text> issue


how about scriptlet? if getProperty==0 call Javascript function.

Javascript funcion
form.element.value="";


>From: "Galbreath, Mark" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts (E-mail)" <[EMAIL PROTECTED]>
>Subject: <html:text> issue
>Date: Tue, 14 May 2002 12:12:51 -0400
>
>Is there a way to suppress the default value for <html:text> when the
>property of the bean is an int?  I don't want a "0" showing in the textbox
>when the property has not been set - it's screwing up validation.
>
>Thanks,
>Mark




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to