Re: [T 5.1] Problem with obligatory locale-aware number formatting

2009-03-25 Thread Otho
Thx for the tip. It's what occurred to me just a few seconds after pressing the send button... A forum would be nice in these cases, I could edit my posts then. But the deeper problem is that I have to handle a special case I don't want to care about. Tapestry's easy going spoiled me :) My perso

Re: [T 5.1] Problem with obligatory locale-aware number formatting

2009-03-24 Thread Howard Lewis Ship
Make the getter and setter convert to/from String instead of double? That should work. On Tue, Mar 24, 2009 at 5:09 AM, Otho wrote: > Hi all! > > I want to use dojo/dijit widgets in an applicatioin. For example the > currency textbox like this: > > Java: > public getPriceFloat() > { >  return cur

[T 5.1] Problem with obligatory locale-aware number formatting

2009-03-24 Thread Otho
Hi all! I want to use dojo/dijit widgets in an applicatioin. For example the currency textbox like this: Java: public getPriceFloat() { return currentProduct.getPrice().doubleValue(); } Template: Currencytextbox ecpects a standard javascript "float" as value and Tapestry's number translator