public void handleButton1Request(RequestInvocationEvent event) throws ModelControlException {
  submitCycle=true;
  SubConfigModel model=(SubConfigModel)getModel();
  AMPropertySheet ps=(AMPropertySheet)getChild(PROPERTY_ATTRIBUTE);
  try {
    Map orig=model.getSubConfigAttributeValues();
    Map values=ps.getAttributeValues(orig,true,true,model);
    model.setSubConfigAttributeValues(values);
    backToProfileViewBean();
  }
 catch (  AMConsoleException e) {
    setInlineAlertMessage(CCAlert.TYPE_ERROR,"message.error",e.getMessage());
    forwardTo();
  }
}

public void handleButton1Request ( RequestInvocationEvent event ) throws ModelControlException { submitCycle = true ; SubConfigModel model = ( SubConfigModel ) getModel ( ) ; AMPropertySheet ps = ( AMPropertySheet ) getChild ( PROPERTY_ATTRIBUTE ) ; try { Map orig = model . getSubConfigAttributeValues ( ) ; Map values = ps . getAttributeValues ( orig , true , true , model ) ; model . setSubConfigAttributeValues ( values ) ; backToProfileViewBean ( ) ; } catch ( AMConsoleException e ) { setInlineAlertMessage ( CCAlert . TYPE_ERROR , "message.error" , e . getMessage ( ) ) ; forwardTo ( ) ; } }
handles next button request .
