コード例 #1
0
 protected final void bindcmbSearchEventLookup() {
   this.form.ctnTargetSelect().cmbSearchEvent().clear();
   ims.pathways.vo.lookups.EventLinkTypeCollection lookupCollection =
       ims.pathways.vo.lookups.LookupHelper.getEventLinkType(this.domain.getLookupService());
   for (int x = 0; x < lookupCollection.size(); x++) {
     this.form
         .ctnTargetSelect()
         .cmbSearchEvent()
         .newRow(
             lookupCollection.get(x),
             lookupCollection.get(x).getText(),
             lookupCollection.get(x).getImage(),
             lookupCollection.get(x).getTextColor());
   }
 }
コード例 #2
0
 protected final void setcmbSearchEventLookupValue(int id) {
   ims.pathways.vo.lookups.EventLinkType instance =
       ims.pathways.vo.lookups.LookupHelper.getEventLinkTypeInstance(
           this.domain.getLookupService(), id);
   if (instance != null) this.form.ctnTargetSelect().cmbSearchEvent().setValue(instance);
 }