1 Reply Latest reply on Jan 16, 2010 7:26 PM by Tamas Malatinszki

    selectManyCheckbox issue showing values from db

    Christian Willi Newbie

      I am having an issue with an h:selectManyCheckbox field not being set in the form.  If I select items in the checklist and hit save they are persisted to the database, but when the form is re-displayed the checkboxes lose their values.  I have other input fields in the form that are saved to the database and then displayed in the form when the page is re-displayed.

      The following is the jsf snippet

      <h:selectManyCheckbox value="#{demographic.races}" layout="pageDirection">  
           <s:selectItems value="#{raceListing.races}" var="race" label="#{race.name}"/>