8 Replies Latest reply on May 19, 2008 1:57 PM by Shervin Asgari

    Where is selected=true on s:selectItems ?

    Shervin Asgari Master

      <h:selectManyCheckbox rendered="#{proeveTypeSokList != null and proeveTypeSokList.size > 0}">
           <s:selectItems value="#{proeveTypeSokList}" var="proevetype" label="#{proevetype.beskrivelse}" selected="true"/>

      The code above does not work. How can I set selected to true as we could do the old days?
      I want the checkboxes to be default on.

      Thanks in advance