1 Reply Latest reply on Apr 3, 2008 4:30 PM by damianharvey.damianharvey.gmail.com

    Passing null in JBoss EL?

    stephen

      I use a parameter in an action expression. Sometimes I'd like to pass null as argument.



      <tr:commandLink text="Clear Filter" immediate="true" action="#{documentView.setFilterId(null)}">
      



      The action handler method is


      public void setFilterId(Long id) {




      This more or less works, however when passing null in EL the java side received 0 (zero).


      Not a big deal, but quite unexpected and makes the java code a little uglier.


      Is it a bug?