org.apache.myfaces.extensions.validator.crossval
Class CrossValidationPhaseListener
java.lang.Object
org.apache.myfaces.extensions.validator.crossval.CrossValidationPhaseListener
- All Implemented Interfaces:
- Serializable, EventListener, javax.faces.event.PhaseListener
public class CrossValidationPhaseListener
- extends Object
- implements javax.faces.event.PhaseListener
This phase listener processes cross validation as soon as it finds a special request scoped storage.
So it's possible to add information during the process validation phase. At the end of this phase it gets processed.
After that the storage gets reseted.
If you provide a custom extension and you add the same storage type within a different phase,
it also gets processed at the end of that phase.
- Since:
- 1.x.1
- See Also:
- Serialized Form
CrossValidationPhaseListener
public CrossValidationPhaseListener()
afterPhase
public void afterPhase(javax.faces.event.PhaseEvent event)
- Specified by:
afterPhase
in interface javax.faces.event.PhaseListener
beforePhase
public void beforePhase(javax.faces.event.PhaseEvent event)
- Specified by:
beforePhase
in interface javax.faces.event.PhaseListener
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Specified by:
getPhaseId
in interface javax.faces.event.PhaseListener
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.