public void handleTblButtonAddRequest(RequestInvocationEvent event){
  IDRepoModel model=(IDRepoModel)getModel();
  try {
    Map map=model.getIDRepoTypesMap();
    IDRepoSelectTypeViewBean vb=(IDRepoSelectTypeViewBean)getViewBean(IDRepoSelectTypeViewBean.class);
    unlockPageTrail();
    passPgSessionMap(vb);
    vb.forwardTo(getRequestContext());
  }
 catch (  AMConsoleException e) {
    setInlineAlertMessage(CCAlert.TYPE_ERROR,"message.error",e.getMessage());
    forwardTo();
  }
}

public void handleTblButtonAddRequest ( RequestInvocationEvent event ) { IDRepoModel model = ( IDRepoModel ) getModel ( ) ; try { Map map = model . getIDRepoTypesMap ( ) ; IDRepoSelectTypeViewBean vb = ( IDRepoSelectTypeViewBean ) getViewBean ( IDRepoSelectTypeViewBean . class ) ; unlockPageTrail ( ) ; passPgSessionMap ( vb ) ; vb . forwardTo ( getRequestContext ( ) ) ; } catch ( AMConsoleException e ) { setInlineAlertMessage ( CCAlert . TYPE_ERROR , "message.error" , e . getMessage ( ) ) ; forwardTo ( ) ; } }
forwards request to creation view bean .
