Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-957

Listbox with multiple check become single selection after migrated to ZK 6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • None
    • 6.0.0
    • None

      listbox with checkmark="true" multiple="true" however the multiple not working, it is now showing only single selection

      Here's the existing code that works before ZK 6

      in zul page :

      <listbox id="lst" checkmark="true" multiple="true" ctrlKeys="^a" droppable="true" >

      in JAVA class :

      lst.setModel(new ListModelList(List<String> data));

      ListitemRenderer lstItem = new ListitemRenderer() {

      @Override
      public void render(Listitem lstm, Object o, int i) throws Exception

      { lstm.setLabel(o.toString()); lstm.setValue(o.toString()); lstm.setDraggable("true"); }

      };

      lst.setItemRenderer(lstItem);

            Unassigned Unassigned
            khy khy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: