[jboss-jira] [JBoss JIRA] (WFLY-13484) JSF - submitting empty fields does not work

Frank Heldt (Jira) issues at jboss.org
Tue May 19 03:09:32 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-13484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104328#comment-14104328 ] 

Frank Heldt commented on WFLY-13484:
------------------------------------

I've just seen that it is also reported here: https://github.com/jboss/mojarra/issues/71
and here: https://github.com/eclipse-ee4j/mojarra/issues/4704

> 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
>            Priority: Major
>
> 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