question: public void handleButton1Request ( RequestInvocationEvent event ) throws ModelControlException { submitCycle = true ; EntitiesModel model = ( EntitiesModel ) getModel ( ) ; AMPropertySheet prop = ( AMPropertySheet ) getChild ( PROPERTY_ATTRIBUTE ) ; String universalId = ( String ) getPageSessionAttribute ( UNIVERSAL_ID ) ; try { Map oldValues = model . getAttributeValues ( universalId , false ) ; Map values = prop . getAttributeValues ( oldValues , true , model ) ; String curRealm = ( String ) getPageSessionAttribute ( AMAdminConstants . CURRENT_REALM ) ; model . modifyEntity ( curRealm , universalId , values ) ; setInlineAlertMessage ( CCAlert . TYPE_INFO , "message.information" , "message.updated" ) ; } catch ( AMConsoleException e ) { setInlineAlertMessage ( CCAlert . TYPE_ERROR , "message.error" , e . getMessage ( ) ) ; } forwardTo ( ) ; }
target:  Handles create realm request.