[seam-commits] Seam SVN: r12069 - branches/community/Seam_2_2/examples/ui/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Feb 23 14:52:52 EST 2010


Author: pete.muir at jboss.org
Date: 2010-02-23 14:52:51 -0500 (Tue, 23 Feb 2010)
New Revision: 12069

Modified:
   branches/community/Seam_2_2/examples/ui/view/selectItems.xhtml
Log:
workaround JBSEAM-4539

Modified: branches/community/Seam_2_2/examples/ui/view/selectItems.xhtml
===================================================================
--- branches/community/Seam_2_2/examples/ui/view/selectItems.xhtml	2010-02-22 09:44:32 UTC (rev 12068)
+++ branches/community/Seam_2_2/examples/ui/view/selectItems.xhtml	2010-02-23 19:52:51 UTC (rev 12069)
@@ -55,7 +55,7 @@
 		
 		<s:decorate template="decorateField.xhtml">
 		  <ui:define name="label">Roles</ui:define>
-		  <h:selectManyCheckbox value="#{person.roles}" required="true">
+		  <h:selectManyCheckbox value="#{person.roles}" required="true" collectionType="java.util.ArrayList">
 		    <s:selectItems value="#{roles}" var="role" label="#{role.name}"/>
 		    <s:convertEnum />
 		  </h:selectManyCheckbox>
@@ -81,7 +81,7 @@
 		<s:decorate template="decorateField.xhtml">
 			<ui:define name="label">Favourite Colours</ui:define>
 			<ui:define name="description">A colour is an entity</ui:define>
-			<h:selectManyListbox value="#{personHome.instance.favouriteColours}" >
+			<h:selectManyListbox value="#{personHome.instance.favouriteColours}" collectionType="java.util.ArrayList">
 				<s:selectItems value="#{colours.resultList}" var="colour" label="#{colour.name}" />
 				<s:convertEntity />
 			</h:selectManyListbox>



More information about the seam-commits mailing list