Subject: Re: <html:text> issue From: Vic C <[EMAIL PROTECTED]> === Validator is client side, it automaticaly creates browser side JavaScript, based on XML fileds you want to validate. See examples. Vic
Pamela Li wrote: > hi, > for struts validator,it is still a serverside validator,right? > so can a server afford so many validation from every page? > > > ----- Original Message ----- > From: "Struts Newsgroup" <@[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 15, 2002 12:40 AM > Subject: Re: <html:text> issue > > > >>Subject: Re: <html:text> issue >>From: Vic C <[EMAIL PROTECTED]> >> === >>JavaScript validation? Struts validator is great! Re-consider for future. >> >>Galbreath, Mark wrote: >> >>>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]> >>> >> >>-- >>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]>

