1 Reply Latest reply on Apr 15, 2009 9:53 PM by pauljunk

    seam and rich pickList - IllegalArgumentException

    pauljunk

      I'm trying to get a richfaces pickList working in Seam. The component loads in the list of values, when I hit the submit button, I'm receiving the error


      java.lang.IllegalArgumentException: ValueBinding for UISelectMany must be of type List or Array
      



      In my xhtml, I have the following pickList


             <h:outputLabel id="insertVariableEValsLabel" >Enumeration Values:</h:outputLabel>&#160;
              <rich:pickList value="#{eNameValsSelected}" >
                  <s:selectItems id="selectTheEnums" value="#{eVals}" var="eVal" label="#{eVal.name}" />
                  <s:convertEntity/> 
             </rich:pickList>
      





      I have a SFSB action class that has the List defined as


          @In (required=false)
          @Out (required=false)
          private List<EnumerationValue> eNameValsSelected;
      



      I get the error even if I set the variable eNameValsSelected to a new ArrayList.



      Any help would be much appreciated!