[jboss-jira] [JBoss JIRA] (WFLY-13484) JSF - submitting empty fields does not work
Frank Heldt (Jira)
issues at jboss.org
Mon May 18 05:00:35 EDT 2020
Frank Heldt created WFLY-13484:
----------------------------------
Summary: JSF - submitting empty fields does not work
Key: WFLY-13484
URL: https://issues.redhat.com/browse/WFLY-13484
Project: WildFly
Issue Type: Bug
Components: JSF
Affects Versions: 19.1.0.Final
Reporter: Frank Heldt
Assignee: Farah Juma
A simple JSF webapp with an input field
{{<p:inputMask value="#{myCtrl.num}" mask="?9999" slotChar="" size="4" maxlength="4"/>
}}
and in the controller
{{private Short num; // + getter/setter}}
When the input field is empty, the setter is never called on submit.
The same webapp under WildFly 19.0.0 works as expected, in this case the setter is called with a null value.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list