f:viewParam does not work for the second ajax request and so forth the submitted value is null in JBoss EAP 7.2

Solution In Progress - Updated -

Issue

The viewParam in a JSF page works well at first request, but when another request is sent using ajax, the value of viewParam is lost. This issue only happens when it use javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true. When it use javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=false it works well.

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

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In