1 Reply Latest reply on Mar 3, 2011 5:18 PM by Rocky S

    Problem with Component PickList

    Ronan Silva Newbie



      The following code causes slowness to open the page and execute the event 'onlistchanged'.



      My .xhtml

      <r:pickList switchByDblClick="true" value="#{managerBean.pickList}">
      <f:selectItems value="#{managerBean.list}" />
      <a4j:support action="#{managerBean.onchangeTest}" event="onlistchanged" reRender="panel"/>

      My Class

      public class ManagerBean{

      private List<String> pickList = new ArrayList<String>();

      private List<SelectItem> list = new ArrayList<SelectItem>();

      public ManagerBean() {
        for (int i = 0; i < 2000; i++) {
         this.list.add(new SelectItem("Label "+i, "Label "+i));

      public void onchangeTest(){
        for (String item : this.pickList) {

      public List<SelectItem> getList(){
        return this.list;

      public List<String> getPickList(){
        return this.pickList;

      public void setPickList(List<String> pickList){
        this.pickList = pickList;


      Using the following context parameter in web.xml, not resolved the slowness.



      This is a Bug???


      Thank's for help