Hello,

I saw that <bean:write> has a "format" attribute for formatting dates and
dollar values. But I didn't see similar thing for <html:text>. If my bean
has a property called "amount" of type BigDecimal, and I want to display
that as a <html:text> for the user to modify the value, How can I format
it?

Also, if the user leaves the <html:text> field for BigDecimal as blank, I
get an exception (string->BigDecimal conversion exception). So, is the
solution to this is to make all formbean properties to be "String" type?


Thanks,
Kiran


-----------------------------------------
The information contained in this message is intended only for the
personal and confidential use of the recipient(s) named above. If
the reader of this message is not the intended recipient or an
agent responsible for delivering it to the intended recipient, you
are hereby notified that you have received this document in error
and that any review, dissemination, distribution, or copying of
this message is strictly prohibited. If you have received this
communication in error, please notify us immediately, and delete
the original message.


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

Reply via email to