It needs to be big decimal as I use other numbers that have no currency information associated.
I've fixed it - I was not coverting Number to BigDecimal explicitly at the end of the method, so somewhere in the middle of the OgnlRuntime class it was swallowing up the illegal args or invalid param or something. Stupid mistake really :). Thanks for your time. Should something like this be in the core? its a couple of lines and ensures internationalisation for BigDecimals (which you should be using for any monetary stuff). Jeromy Evans - Blue Sky Minds wrote: > > Sounds great. Nothing stands out to me. > Maybe turn on developer mode to see if there's any errors logged when > trying to set the value (struts.devMode=true) > Is it possible it can't instantiate an AmountDTO object or call the > corresponding getter before setting the BigDecimal value? > > Also try to set a BigDecimal in your action directly rather than the > property of your AmountDTO. > > Another solution is to provide an AmountDTO converter rather than a > BigDecimal converter.. > -- View this message in context: http://www.nabble.com/German-Turkey-etc-decimal-use-comma-in-input-fields.-tp15473083p15495541.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]