/**
   * Handles tab selected event.
   *
   * @param event Request Invocation Event.
   * @param nodeID Selected Node ID.
   */
  public void nodeClicked(RequestInvocationEvent event, int nodeID) {
    AMViewConfig amconfig = AMViewConfig.getInstance();

    try {
      AMViewBeanBase vb = getTabNodeAssociatedViewBean("cscGeneral", nodeID);
      unlockPageTrailForSwapping();
      passPgSessionMap(vb);
      vb.forwardTo(getRequestContext());
    } catch (AMConsoleException e) {
      debug.error("ServerEditGeneralViewBean.nodeClicked", e);
      forwardTo();
    }
  }
Example #2
0
 private void forwardToAMViewBean() throws AMConsoleException {
   removePageSessionAttribute(PAGE_MODIFIED);
   AMViewBeanBase vb = getPreviousPage();
   passPgSessionMap(vb);
   vb.forwardTo(getRequestContext());
 }