public void handleTblDataActionHrefRequest(RequestInvocationEvent event) throws ModelControlException {
  String prevRealm=(String)getPageSessionAttribute(AMAdminConstants.CURRENT_REALM);
  setPageSessionAttribute(AMAdminConstants.PREVIOUS_REALM,prevRealm);
  String newRealm=hexToString((String)getDisplayFieldValue(TBL_DATA_ACTION_HREF));
  setPageSessionAttribute(AMAdminConstants.CURRENT_REALM,newRealm);
  setCurrentLocation(newRealm);
  String tmp=(String)getPageSessionAttribute(getTrackingTabIDName());
  setPageSessionAttribute(AMAdminConstants.PREVIOUS_TAB_ID,tmp);
  AMViewConfig config=AMViewConfig.getInstance();
  RMRealmModel model=(RMRealmModel)getModel();
  unlockPageTrail();
  try {
    AMViewBeanBase vb=config.getTabViewBean(this,newRealm,model,"realms",-1,-1);
    passPgSessionMap(vb);
    vb.forwardTo(getRequestContext());
  }
 catch (  AMConsoleException e) {
    setPageSessionAttribute(AMAdminConstants.CURRENT_REALM,prevRealm);
    removePageSessionAttribute(AMAdminConstants.PREVIOUS_TAB_ID);
    setInlineAlertMessage(CCAlert.TYPE_ERROR,"message.error",e.getMessage());
    forwardTo();
  }
}

public void handleTblDataActionHrefRequest ( RequestInvocationEvent event ) throws ModelControlException { String prevRealm = ( String ) getPageSessionAttribute ( AMAdminConstants . CURRENT_REALM ) ; setPageSessionAttribute ( AMAdminConstants . PREVIOUS_REALM , prevRealm ) ; String newRealm = hexToString ( ( String ) getDisplayFieldValue ( TBL_DATA_ACTION_HREF ) ) ; setPageSessionAttribute ( AMAdminConstants . CURRENT_REALM , newRealm ) ; setCurrentLocation ( newRealm ) ; String tmp = ( String ) getPageSessionAttribute ( getTrackingTabIDName ( ) ) ; setPageSessionAttribute ( AMAdminConstants . PREVIOUS_TAB_ID , tmp ) ; AMViewConfig config = AMViewConfig . getInstance ( ) ; RMRealmModel model = ( RMRealmModel ) getModel ( ) ; unlockPageTrail ( ) ; try { AMViewBeanBase vb = config . getTabViewBean ( this , newRealm , model , "realms" , - 1 , - 1 ) ; passPgSessionMap ( vb ) ; vb . forwardTo ( getRequestContext ( ) ) ; } catch ( AMConsoleException e ) { setPageSessionAttribute ( AMAdminConstants . CURRENT_REALM , prevRealm ) ; removePageSessionAttribute ( AMAdminConstants . PREVIOUS_TAB_ID ) ; setInlineAlertMessage ( CCAlert . TYPE_ERROR , "message.error" , e . getMessage ( ) ) ; forwardTo ( ) ; } }
handles edit realm request .
