org.apache.myfaces.extensions.validator.core.interceptor
Class FacesMessagePropertyValidationInterceptor

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.interceptor.FacesMessagePropertyValidationInterceptor
All Implemented Interfaces:
PropertyValidationInterceptor, ValidationParameter

@InvocationOrder(value=900)
public class FacesMessagePropertyValidationInterceptor
extends java.lang.Object
implements PropertyValidationInterceptor

Since:
x.x.3
Author:
Gerhard Petracek

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
FacesMessagePropertyValidationInterceptor()
           
 
Method Summary
 void afterValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object convertedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
          processed if validation was executed in contrast to ValidationExceptionInterceptor it gets executed in any case
 boolean beforeValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object convertedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

FacesMessagePropertyValidationInterceptor

public FacesMessagePropertyValidationInterceptor()
Method Detail

beforeValidation

public boolean beforeValidation(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent uiComponent,
                                java.lang.Object convertedObject,
                                java.util.Map<java.lang.String,java.lang.Object> properties)
Specified by:
beforeValidation in interface PropertyValidationInterceptor
Returns:
false if the validation process should be bypassed

afterValidation

public void afterValidation(javax.faces.context.FacesContext facesContext,
                            javax.faces.component.UIComponent uiComponent,
                            java.lang.Object convertedObject,
                            java.util.Map<java.lang.String,java.lang.Object> properties)
Description copied from interface: PropertyValidationInterceptor
processed if validation was executed in contrast to ValidationExceptionInterceptor it gets executed in any case

Specified by:
afterValidation in interface PropertyValidationInterceptor


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.