[jboss-user] [JBoss Seam] - Re: selectManyMenu and EntityHome

petemuir do-not-reply at jboss.com
Fri Mar 16 21:22:02 EDT 2007


Surely you need a select many in this case:

<h:selectManyListbox value="#{companyHome.instance.states}" converter="#{converters.stateConverter}">
  |    <s:selectItems value="#{stateList.resultList}" var="state" label="#{state.name}" noSelectionLabel="Please Select..." hideNoSelectionLabel="true" />
  | </h:selectManyListbox>

- it doesn't make any sense to use a selectOneMenu to put objects into a Collection.

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

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



More information about the jboss-user mailing list