[forge-issues] [JBoss JIRA] (FORGE-2618) UIInput<Integer> value should be null if empty string is set

George Gastaldi (JIRA) issues at jboss.org
Mon Mar 14 14:00:00 EDT 2016


George Gastaldi created FORGE-2618:
--------------------------------------

             Summary: 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: Feature Request
          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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list