public DialogResponse < T > getLastResponse ( ) { String saved = saveResponseId == null ? null : PropertyUtil . getValue ( SAVED_RESPONSE_PROP_NAME , saveResponseId ) ; int i = NumberUtils . toInt ( saved , - 1 ) ; DialogResponse < T > response = i < 0 || i >= responses . size ( ) ? null : responses . get ( i ) ; return response == null || response . isExcluded ( ) ? null : response ; }
Returns the last saved response for this dialog .