protected final void bindcmbTheatreTypeLookup() { this.form.lyr1().tabSearch().cmbTheatreType().clear(); ims.scheduling.vo.lookups.TheatreTypeCollection lookupCollection = ims.scheduling.vo.lookups.LookupHelper.getTheatreType(this.domain.getLookupService()); for (int x = 0; x < lookupCollection.size(); x++) { this.form .lyr1() .tabSearch() .cmbTheatreType() .newRow( lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor()); } }
protected final void setcmbTheatreTypeLookupValue(int id) { ims.scheduling.vo.lookups.TheatreType instance = ims.scheduling.vo.lookups.LookupHelper.getTheatreTypeInstance( this.domain.getLookupService(), id); if (instance != null) this.form.lyr1().tabSearch().cmbTheatreType().setValue(instance); }