Hi everyone,

    I used the following code to set "null" to the Boolean property 
filterCancelledStatus of userListPageBean. It worked well when i was working 
with myfaces 1.1, but when i migrate to myfaces 1.2, the value is set to False, 
why? The same problem occurs with Long properties because with myfaces 1.2 the 
value 0 is set. 

     <h:selectOneMenu id="filterCancelledStatus" 
styleClass="base-h-selectOneMenu" 
value="#{userListPageBean.filterCancelledStatus}">
               <f:selectItem itemValue="" itemLabel="#{msg['label.all']}"/>
               <f:selectItems 
value="#{userPageBean.cancelledStatusSelectItemList}" />
     </h:selectOneMenu>
    
   Any suggestions?
   Thanks in advance.

´s marcelo



      

Reply via email to