]
George Gastaldi closed FORGE-2618.
----------------------------------
Resolution: Done
UIInput<Integer> value should be null if empty string is set
------------------------------------------------------------
Key: FORGE-2618
URL:
https://issues.jboss.org/browse/FORGE-2618
Project: Forge
Issue Type: Bug
Components: Conversion
Affects Versions: 3.0.0.CR1
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 3.0.0.Final
Having a {{UIInput<Integer> input}},
If you call {{CommandController.setValueFor("input","")}}, a
{{NumberFormatException}} is thrown.
It would be desirable to set the input value to {{null}} instead.