public void handleButton1Request(RequestInvocationEvent event) throws ModelControlException {
  submitCycle=true;
  ServicesProfileModel model=(ServicesProfileModel)getModel();
  if (model != null) {
    try {
      Map values=getValues();
      model.setAttributes(values);
      setInlineAlertMessage(CCAlert.TYPE_INFO,"message.information","message.updated");
    }
 catch (    AMConsoleException e) {
      setInlineAlertMessage(CCAlert.TYPE_ERROR,"message.error",e.getMessage());
    }
  }
  forwardTo();
}

public void handleButton1Request ( RequestInvocationEvent event ) throws ModelControlException { submitCycle = true ; ServicesProfileModel model = ( ServicesProfileModel ) getModel ( ) ; if ( model != null ) { try { Map values = getValues ( ) ; model . setAttributes ( values ) ; setInlineAlertMessage ( CCAlert . TYPE_INFO , "message.information" , "message.updated" ) ; } catch ( AMConsoleException e ) { setInlineAlertMessage ( CCAlert . TYPE_ERROR , "message.error" , e . getMessage ( ) ) ; } } forwardTo ( ) ; }
handles add service request .
