4 Replies Latest reply on Feb 8, 2010 7:49 AM by maust123

    h:selectBooleanCheckbox inside rich:menuItem

      Hi,

      I'm trying to position a checkbox within a rich:menuItem element using the code below. The checkbox is displayed in the browser and it can be predefined a state using the value attribute. However, when I click on it, it doesn't change its state. When it is checked, I cannot uncheck it. When it is unchecked, I cannot check it... What's the matter here? (btw: it's the same issue when I leave out the f:facet element)

       

      Thanks in advance!

       

      Marius

       

      <rich:menuItem submitMode="ajax" value="Save All">
           <f:facet name="icon">
                <h:selectBooleanCheckbox value="#{menu.checked}" />
           </f:facet>
      </rich:menuItem>