@ Override public boolean add ( ClientPresentationModel model ) { boolean success = super . add ( model ) ; if ( success ) { List < ClientAttribute > attributes = model . getAttributes ( ) ; for ( ClientAttribute attribute : attributes ) { attribute . addPropertyChangeListener ( attributeChangeListener ) ; } if ( ! model . isClientSideOnly ( ) ) { getClientConnector ( ) . send ( CreatePresentationModelCommand . makeFrom ( model ) ) ; } } return success ; }
ModelStoreListener ADDED will be fired before server is notified .