Re: displaying Date, BigDecimal as html:text

2006-08-08 Thread Laurie Harper
Puneet Lakhina wrote: Also, if the user leaves the 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? you coud do something like BigDecimal bigDecimalProperty; publi

Re: displaying Date, BigDecimal as html:text

2006-08-03 Thread Puneet Lakhina
Also, if the user leaves the 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? you coud do something like BigDecimal bigDecimalProperty; public setBigDecimalProperty

displaying Date, BigDecimal as html:text

2006-08-03 Thread kkumar
Hello, I saw that has a "format" attribute for formatting dates and dollar values. But I didn't see similar thing for . If my bean has a property called "amount" of type BigDecimal, and I want to display that as a for the user to modify the value, How can I format it? Also, if the user leaves