/** * Handles reset request. * * @param event Request invocation event */ public void handleButton3Request(RequestInvocationEvent event) { backTrail(); try { String name = (String) getPageSessionAttribute(AMAdminConstants.SAVE_VB_NAME); SCConfigViewBean vb = (SCConfigViewBean) getViewBean(Class.forName(name)); passPgSessionMap(vb); vb.forwardTo(getRequestContext()); } catch (ClassNotFoundException e) { debug.warning("SCServiceProfileViewBean.handleButton3Request:", e); } }
/** * Handles reset request. * * @param event Request invocation event */ public void handleButton3Request(RequestInvocationEvent event) throws ModelControlException, AMConsoleException { removePageSessionAttribute(PAGE_MODIFIED); backTrail(); try { String name = (String) getPageSessionAttribute(AMAdminConstants.SAVE_VB_NAME); SCConfigViewBean vb = (SCConfigViewBean) getViewBean(Class.forName(name)); passPgSessionMap(vb); vb.forwardTo(getRequestContext()); } catch (ClassNotFoundException e) { debug.warning("SCSAML2SOAPBindingViewBean.handleButton3Request:", e); } }