private void populateNavGrid(AppNavShortVoCollection coll) { form.grdList().getRows().clear(); for (int i = 0; i < coll.size(); i++) { AppNavShortVo nav = coll.get(i); if (nav.getIsActive() != null && !nav.getIsActive().booleanValue() && form.chkActiveOnly().getValue()) continue; grdListRow row = form.grdList().getRows().newRow(); row.setValue(nav); row.setActive(nav.getIsActive().booleanValue()); row.setName(nav.getNavigationName()); } setFormMode(FormMode.VIEW); }
protected void onGrdListSelectionChanged() throws ims.framework.exceptions.PresentationLogicException { AppNavShortVo nav = form.grdList().getValue(); if (nav != null) { populateNavigation(nav); } setFormMode(FormMode.VIEW); }
private void populateNavigation(AppNavShortVo nav) { AppNavigationVo fullNav = domain.getNavigation(nav); populateNavigation(fullNav); }