[jboss-user] [JBoss Seam] - Re: EnumConverter for multi-select lists

bolke do-not-reply at jboss.com
Wed Oct 31 12:08:54 EDT 2007


Oops I am returning arrays actually

This is the error:


  | sourceId=j_id19:j_id32[severity=(ERROR 2), summary=(Conversion Error setting value 'PP EP EX TOX' for '#{chemical.equipment}'. ), detail=(Conversion Error setting value 'PP EP EX TOX' for '#{chemical.equipment}'. )]
  | 

relevant xhtml


  | <h:selectManyCheckbox value="#{chemical.equipment}">
  | 							<s:selectItems value="#{enumLists.equipment}" var="item" label="#{item}"/>
  | 							<s:convertEnum />
  | 						</h:selectManyCheckbox>
  | 

chemical.equipment is a set of enum eg (a Set of Enum Equipment).
enumLists.equipement is an array of the values of Equipment

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

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



More information about the jboss-user mailing list