SmartGWT 2.2
In a Search form I need to use a text box to enter/display an integer value (not related to any field of the underlying data source). I thought to use an IntegerItem but from the documentation I do not see any method to retrieve its content as a Java int (or Integer), which I would expect. So I need to convert its content with
Do I miss anything? What is IntegerItem intended for?
Kind regards.
In a Search form I need to use a text box to enter/display an integer value (not related to any field of the underlying data source). I thought to use an IntegerItem but from the documentation I do not see any method to retrieve its content as a Java int (or Integer), which I would expect. So I need to convert its content with
Code:
Integer.parseInt(intItem.getValue().toString()).
Kind regards.
Comment