0 Replies Latest reply on Oct 6, 2011 2:17 PM by zomby

    PickList might be broken in RF 4.1.0 M2

    zomby

      I am using richlist and when in the bean I try to call the following following

       

       Object[] values = ((UIPickList) source).getSelectedValues();
      

       

      It throws the following exception

       

       

      Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object;
                at javax.faces.component.UISelectMany.getSelectedValues(UISelectMany.java:80)
      
      

       

      It says in the api docs that getSelectedValues must return the Object[] but it does not. Is this a bug or what.