1 Reply Latest reply on Mar 22, 2017 6:18 PM by Miklós Kriván

    org.apache.el.parser.COERCE_TO_ZERO=false not working in rich:column@filterValue submitted

    Kamil Roman Newbie

      Hi,

       

      In my web.xml I have set

       

          <context-param>

              <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>

              <param-value>true</param-value>

          </context-param>

       

      and my JBoss EAP 6.1 Alpha is run with system property

       

      -Dorg.apache.el.parser.COERCE_TO_ZERO=false


      While these settings do their job most of the time, when I set some value to an Integer-bound filterValue in a rich:extendedDataTable\rich:column and then try to clear the value, I get a 0 instead of null in the filter input field. From the little research I have done it seems that the empty value from the filter field is sent to org.apache.el.parser.AstValue#setValue(EvaluationContext ctx, Object value) as "" instead as null as it is in the other cases (which work properly).


      Can this be changed somehow so that on clearing my filtering input the value is empty and not set to 0?


      I am using RF 4.3.7.Final