BrightSide Workbench Full Report + Source Code
ActivitySectorListbox.java
Go to the documentation of this file.
1 package org.turro.crm.zul.sector;
2 
3 import org.turro.crm.entity.ActivitySector;
4 import org.turro.crm.search.ActivitySectorResults;
5 import org.turro.zkoss.input.CollectionListbox;
6 
11 public class ActivitySectorListbox extends CollectionListbox<ActivitySector> {
12 
14  setCollection(new ActivitySectorResults().getActivitySectorList());
15  }
16 
17  @Override
18  protected String convertToString(ActivitySector v) {
19  return v.getName();
20  }
21 
22 }
void setCollection(Collection< V > collection)