protected void onCmbDocumentCategoryValueChanged() throws ims.framework.exceptions.PresentationLogicException { form.getLocalContext().setDocumentCategoryMapping(null); if(form.cmbDocumentCategory().getValue() != null ) { LookupInstVo inst = LookupHelper.getDocumentCategoryInstance(this.domain.getLookupService(),form.cmbDocumentCategory().getValue().getID()); LookupInstVo instMap = domain.getMappings(inst); LookupMappingVoCollection tempColl = instMap.getMappings().sort(); for(int i = 0; tempColl != null && i < tempColl.size();i++) { if(tempColl.get(i) != null && TaxonomyType.EDRM.getText().equals(tempColl.get(i).getExtSystem())) { TaxonomySeedVo taxSeedVo = new TaxonomySeedVo(); taxSeedVo.setID_TaxonomySeed(form.cmbDocumentCategory().getValue().getID()); taxSeedVo.setExtCode(tempColl.get(i).getExtCode()); taxSeedVo.setExtSystem(tempColl.get(i).getExtSystem()); form.getLocalContext().setDocumentCategoryMapping(taxSeedVo); break; } } } }