private void open() { // set selection back if (form.getGlobalContext().Admin.getSelectedMosIsNotNull() && form.GroupTreeFilter().getValue().equals(GenForm.GroupTreeFilterEnumeration.rdoMemberOfStaff))//WDEV-15437 { form.lyrLHS().tabMos().treMemberOfStaff().clear(); MemberOfStaffVo MOS = form.getGlobalContext().Admin.getSelectedMos(); //WDEV-15658 form.lyrLHS().tabMos().customControlMosSearch().setActionEvent(MOSSearchLastAction.CLEAR_CLICKED); //WDEV-15658 form.lyrLHS().tabMos().customControlMosSearch().clear(); //WDEV-15658 addMosNode(MOS); form.lyrLHS().tabMos().treMemberOfStaff().setValue(MOS); selectionChanged(form.lyrLHS().tabMos().treMemberOfStaff().getSelectedNode()); return; } if (form.GroupTreeFilter().getValue().equals(GenForm.GroupTreeFilterEnumeration.rdoMemberOfStaff)) { clearMosTree(); showMosView(); } else { populateOrganisationTree(); showOrganisationView(); } }
protected void onCustomControlMosSearchValueChanged() throws PresentationLogicException { MOSSearchLastAction action = form.lyrLHS().tabMos().customControlMosSearch().getActionEvent(); clearContextVariables(); if (action != null) { if (action.equals(MOSSearchLastAction.CLEAR_CLICKED)) { clearMenuItems(); clearDetailControls(); clearMosTree(); } else if (action.equals(MOSSearchLastAction.SEARCH_CLICKED)) search(); } }
private void open() { // set selection back //WDEV-22742 if (GenForm.GroupTreeFilterEnumeration.rdoMemberOfStaff.equals(form.GroupTreeFilter().getValue()) && form.getGlobalContext().Admin.getSelectedMosIsNotNull())//WDEV-15437 { form.lyrLHS().tabMos().treMemberOfStaff().clear(); MemberOfStaffVo MOS = form.getGlobalContext().Admin.getSelectedMos(); //WDEV-15658 form.lyrLHS().tabMos().customControlMosSearch().setActionEvent(MOSSearchLastAction.CLEAR_CLICKED); //WDEV-15658 form.lyrLHS().tabMos().customControlMosSearch().clear(); //WDEV-15658 addMosNode(MOS); form.lyrLHS().tabMos().treMemberOfStaff().setValue(MOS); selectionChanged(form.lyrLHS().tabMos().treMemberOfStaff().getSelectedNode()); return; } if (form.GroupTreeFilter().getValue().equals(GenForm.GroupTreeFilterEnumeration.rdoMemberOfStaff)) { //clearMosTree(); //WDEV-16248 showMosView(); } else { populateOrganisationTree(); showOrganisationView(); } }
protected void onImbClearClick() throws ims.framework.exceptions.PresentationLogicException { setAction(MOSSearchLastAction.CLEAR_CLICKED); clear(); }
protected void onImbSearchClick() throws ims.framework.exceptions.PresentationLogicException { setAction(MOSSearchLastAction.SEARCH_CLICKED); search(); }
private void setAction(MOSSearchLastAction enumValue) { form.getLocalContext().setAction(enumValue); }
private MOSSearchLastAction getAction() { return form.getLocalContext().getAction(); }
public MOSSearchLastAction getActionEvent() { return getAction(); }
public void setActionEvent(MOSSearchLastAction action) { form.getLocalContext().setAction(action); }