Class DefaultValidationContext
java.lang.Object
org.springframework.webflow.validation.DefaultValidationContext
- All Implemented Interfaces:
- ValidationContext
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultValidationContext(RequestContext requestContext, String eventId, MappingResults mappingResults) 
- 
Method SummaryModifier and TypeMethodDescriptionA context for adding failure messages to display to the user directly.The current user event that triggered validation.The current user.getUserValue(String property) Obtain the value entered by the current user in the UI field bound to the property provided.
- 
Constructor Details- 
DefaultValidationContextpublic DefaultValidationContext(RequestContext requestContext, String eventId, MappingResults mappingResults) 
 
- 
- 
Method Details- 
getMessageContextDescription copied from interface:ValidationContextA context for adding failure messages to display to the user directly.- Specified by:
- getMessageContextin interface- ValidationContext
 
- 
getUserEventDescription copied from interface:ValidationContextThe current user event that triggered validation.- Specified by:
- getUserEventin interface- ValidationContext
 
- 
getUserPrincipalDescription copied from interface:ValidationContextThe current user.- Specified by:
- getUserPrincipalin interface- ValidationContext
 
- 
getUserValueDescription copied from interface:ValidationContextObtain the value entered by the current user in the UI field bound to the property provided.- Specified by:
- getUserValuein interface- ValidationContext
- Parameters:
- property- the name of a bound property
- Returns:
- the value the user entered in the field bound to the property
 
 
-