0 Replies Latest reply on Apr 17, 2008 6:43 PM by kooudy

    selectItems and selectMany

    kooudy

      I need something like:


      <h:selectManyCheckbox value=#{userHome.instance.roles}>  
           <s:selectItems value=#{roleList.resultList} var=role label=#{role.name} />  
           <s:convertEntity /> 
      </h:selectManyCheckbox>
      




      As a result will be checkbox on each line with a short description.


      I need to format each line with some additional atributes:


      | checkbox | first_name | last_name | sex | assign_roles |
      | t        | jan        | novak     | m   | s:link       |
      | f        | karel      | novak     | m   | s:link       |
      ...
      



      How can I add to each line these values?
      Not only label with

      label=#{role.name}



      thanks