Shouldn't this be taken care of in the bean? Why "fix" it in the jsp?
That is, the bean should provide valid display values.
If it shows 0, "when the property has not been set" then can the bean have
the appropriate values initialized?
This approach simplifies the jsp's and makes it less painful for the
jsp/struts tag users.
"Galbreath, Mark" <[EMAIL PROTECTED]> on 05/14/2002 12:12:51 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: "Struts (E-mail)" <[EMAIL PROTECTED]>
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: <html:text> issue
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
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>