Skip to main content

INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true does not work on GlassFish 4 / JSF 2.2 / Mojarra 2.2.0

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
dweil
Offline
Joined: 2005-11-13

Empty string input fields are submitted as "" instead of null, even if the context parameter javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL is set to true (GlassFish 4.0.1 b03, JSF 2.2, Mojarra 2.2.0).

See attached project for reproducing the bug.

Do I miss something? Is there a workaround?

Thanks
Dirk