java.lang.Object
com.sun.faces.application.ValidateComponentNesting
- All Implemented Interfaces:
FacesListener,SystemEventListener,EventListener
ValidateFormComponentNesting performs component tree validation to assure ActionSource
and EditableValueHolder components are placed inside a form.
ValidateFormComponentNesting is installed automatically if ProjectStage.Development is active.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisListenerForSource(Object source) This method must returntrueif and only if this listener instance is interested in receiving events from the instance referenced by thesourceparameter.voidprocessEvent(SystemEvent event) Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.
-
Constructor Details
-
ValidateComponentNesting
public ValidateComponentNesting()
-
-
Method Details
-
isListenerForSource
Description copied from interface:SystemEventListenerThis method must return
trueif and only if this listener instance is interested in receiving events from the instance referenced by thesourceparameter.- Specified by:
isListenerForSourcein interfaceSystemEventListener- Parameters:
source- the source that is inquiring about the appropriateness of sending an event to this listener instance.- Returns:
- the value as specified above
-
processEvent
Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.- Specified by:
processEventin interfaceSystemEventListener- Parameters:
event- theSystemEventinstance that is being processed.- Throws:
AbortProcessingException- if lifecycle processing should cease for this request.
-