public void nodeClicked(RequestInvocationEvent event,int nodeID){
  EntityEditViewBean vb=null;
  IdType idType=null;
  EntitiesModel model=(EntitiesModel)getModel();
  unlockPageTrailForSwapping();
  setPageSessionAttribute(getTrackingTabIDName(),Integer.toString(nodeID));
  if (nodeID == TAB_PROFILE) {
    vb=(EntityEditViewBean)getViewBean(EntityEditViewBean.class);
    forwardToOtherEntityViewBean(vb,idType);
  }
 else   if (nodeID == TAB_SERVICES) {
    vb=(EntityServicesViewBean)getViewBean(EntityServicesViewBean.class);
    forwardToOtherEntityViewBean(vb,idType);
  }
 else {
    handleMembersViewForwarding(nodeID,model);
  }
}

public void nodeClicked ( RequestInvocationEvent event , int nodeID ) { EntityEditViewBean vb = null ; IdType idType = null ; EntitiesModel model = ( EntitiesModel ) getModel ( ) ; unlockPageTrailForSwapping ( ) ; setPageSessionAttribute ( getTrackingTabIDName ( ) , Integer . toString ( nodeID ) ) ; if ( nodeID == TAB_PROFILE ) { vb = ( EntityEditViewBean ) getViewBean ( EntityEditViewBean . class ) ; forwardToOtherEntityViewBean ( vb , idType ) ; } else if ( nodeID == TAB_SERVICES ) { vb = ( EntityServicesViewBean ) getViewBean ( EntityServicesViewBean . class ) ; forwardToOtherEntityViewBean ( vb , idType ) ; } else { handleMembersViewForwarding ( nodeID , model ) ; } }
handles tab selected event .
