Amit,Every time that you bind to anything other than String, you have to set the formatter in WOBuilder. Go to the text box, control-click and click inspect. In the entry where it says numberFormat, select which format you want (or set your own). The most common for an integer is "0" to display
Hi Amit,
you hat to set the numberFormat binding of the WOTextField.
On the other hand, use getter and setter with String arguments and use
new Integer(string) to convert the value.
Using this, you can catch the NumberFormatException by your own.
Stefan
Amit Kejriwal schrieb:
Hi al
Hi all, What I am trying to do is to collect a value from the user through the text box which I have binded to a variable of the type Integer. And whose getter and setters are also of the same type .But I am getting an error of thge type:Error:java.lang.IllegalArgumentException: