protected final void bindcmbSpecialInterestCategoryLookup() { this.form.cmbSpecialInterestCategory().clear(); ims.correspondence.vo.lookups.SpecialInterestTypeCollection lookupCollection = ims.correspondence.vo.lookups.LookupHelper.getSpecialInterestType( this.domain.getLookupService()); for (int x = 0; x < lookupCollection.size(); x++) { this.form .cmbSpecialInterestCategory() .newRow( lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor()); } }
protected final void setcmbSpecialInterestCategoryLookupValue(int id) { ims.correspondence.vo.lookups.SpecialInterestType instance = ims.correspondence.vo.lookups.LookupHelper.getSpecialInterestTypeInstance( this.domain.getLookupService(), id); if (instance != null) this.form.cmbSpecialInterestCategory().setValue(instance); }