Community
Participate
Working Groups
Build Identifier: 20100617-1415 An example: I have a person pojo, that has an age attribute, which is an integer. Now when it comes to databinding, I bind that attribute to a text field via XWT, which works fine . But if the person's age is greater than 999, there is added a thousands separator automatically: If the int value is 123456, the text field has the text "123.456". I recognized that the same happens with double values, it seems that number values are automatically formatted according to the locale. It is actually a nice feature but it should be possible to disable. Reproducible: Always
You can disable it by override the default convertor. There are two solutions: 1. Override the system default convertor XWT.registerConvertor(IConvertor) 2. set up a local convertor in the binding text="{binding path=age,convertor=MyIntConvertor}" The MyIntConvertor must implement IValueConvertor
It is by design.