Exemplo n.º 1
0
 protected final void bindcmbReasonNotRequestedLookup() {
   this.form.cmbReasonNotRequested().clear();
   ims.admin.vo.lookups.ReasonChartNotRequestedCollection lookupCollection =
       ims.admin.vo.lookups.LookupHelper.getReasonChartNotRequested(
           this.domain.getLookupService());
   for (int x = 0; x < lookupCollection.size(); x++) {
     this.form
         .cmbReasonNotRequested()
         .newRow(
             lookupCollection.get(x),
             lookupCollection.get(x).getText(),
             lookupCollection.get(x).getImage(),
             lookupCollection.get(x).getTextColor());
   }
 }
Exemplo n.º 2
0
 protected final void setcmbReasonNotRequestedLookupValue(int id) {
   ims.admin.vo.lookups.ReasonChartNotRequested instance =
       ims.admin.vo.lookups.LookupHelper.getReasonChartNotRequestedInstance(
           this.domain.getLookupService(), id);
   if (instance != null) this.form.cmbReasonNotRequested().setValue(instance);
 }