|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
public class JvJsfUpdateValuesPhaseListener
This class allows xml-driven validation for jsf pages. Please see jv-jsf-config.xml for more information. Define this class in your faces-config if you need this type of validation.
Changes for 1.0.1:
| Constructor Summary | |
|---|---|
JvJsfUpdateValuesPhaseListener()
|
|
| Method Summary | |
|---|---|
void |
afterPhase(javax.faces.event.PhaseEvent phaseEvent)
Handles the actual validation. |
void |
beforePhase(javax.faces.event.PhaseEvent phaseEvent)
|
protected void |
doValidate(javax.faces.event.PhaseEvent phaseEvent)
Executes the actual validation. |
javax.faces.event.PhaseId |
getPhaseId()
|
protected void |
loadValidator(javax.faces.context.FacesContext context)
Loads the annotationvalidator using given servlet context. |
protected void |
validationErrorsFound(javax.faces.event.PhaseEvent phaseEvent)
Simply calls renderResponse() on the facescontext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JvJsfUpdateValuesPhaseListener()
| Method Detail |
|---|
public void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
afterPhase in interface javax.faces.event.PhaseListenerpublic void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
beforePhase in interface javax.faces.event.PhaseListenerpublic javax.faces.event.PhaseId getPhaseId()
getPhaseId in interface javax.faces.event.PhaseListenerprotected void validationErrorsFound(javax.faces.event.PhaseEvent phaseEvent)
phaseEvent - Eventprotected void loadValidator(javax.faces.context.FacesContext context)
context - The servlet context to useprotected void doValidate(javax.faces.event.PhaseEvent phaseEvent)
phaseEvent -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||