/** * Called on request from the UI to add a new event handler. * * @param event Request Invocation Event. */ @SuppressWarnings("unused") public void handleTblSubConfigButtonAddRequest(RequestInvocationEvent event) { ViewBean vb = getSelectViewBean(); setPageSessionAttribute( PG_SESSION_PROFILE_VIEWBEANS, (Serializable) singletonList(viewBeanPath)); unlockPageTrail(); passPgSessionMap(vb); vb.forwardTo(getRequestContext()); }
/** * Called on request from the UI to return to the previous page. * * @param event Request Invocation Event. */ @SuppressWarnings("unused") public void handleButton3Request(RequestInvocationEvent event) { backTrail(); try { String name = (String) getPageSessionAttribute(SAVE_VB_NAME); ViewBean vb = getViewBean(Class.forName(name)); passPgSessionMap(vb); vb.forwardTo(getRequestContext()); } catch (ClassNotFoundException e) { debug.warning("AbstractAuditViewBean.handleButton3Request:", e); } }
/** * Called on request from the UI to edit an event handler. * * @param event Request Invocation Event. */ @SuppressWarnings("unused") public void handleTblSubConfigHrefNameRequest(RequestInvocationEvent event) { String auditHandler = (String) getDisplayFieldValue(TBL_SUB_CONFIG_HREF_NAME); setPageSessionAttribute(AUDIT_HANDLER_NAME, auditHandler); setPageSessionAttribute(SERVICE_NAME, serviceName); setPageSessionAttribute( PG_SESSION_PROFILE_VIEWBEANS, (Serializable) singletonList(viewBeanPath)); ViewBean vb = getEditViewBean(); unlockPageTrail(); passPgSessionMap(vb); vb.forwardTo(getRequestContext()); }