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

    seam and rich pickList - IllegalArgumentException

    Paul Tisca Newbie

      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}" />

      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!