[jboss-user] [JBoss Seam] - selectManyCheckbox

tompom do-not-reply at jboss.com
Mon Jul 30 16:21:14 EDT 2007


I want to display a selectManyCheckbox where the checkboxes are preselected if there was a preceding selection (a selection is persisted).

carBean.carList is a java.util.List of car objects (not  of Strings):

<h:selectManyCheckbox id="cars"
  |  value="#{carsBean.car}">
  |   <f:selectItems
  |    value="#{carBean.carList}"/>
  | </h:selectManyCheckbox>

How can I achieve that? Do I need a converter?

Does anyone have a complete code sample? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068889#4068889

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068889



More information about the jboss-user mailing list