EAP 7 redisplays the old model value on @NotNull validation error when setting INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true

Solution Unverified - Updated -

Issue

EAP 7 redisplays the old model value on @NotNull validation error when setting javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL to true in web.xml:

<context-param>
    <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
    <param-value>true</param-value>
</context-param>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.0.x
  • JSF / Bean Validation

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.