public class ValidateComponentNesting extends Object implements javax.faces.event.SystemEventListener
ValidateFormComponentNesting performs component tree validation to assure ActionSource ,
ActionSource2 and EditableValueHolder components are placed inside a form.
ValidateFormComponentNesting is installed automatically if ProjectStage.Development is
active.
| Constructor and Description |
|---|
ValidateComponentNesting() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isListenerForSource(Object source)
This method must return
true if and only if this
listener instance is interested in receiving events from the
instance referenced by the source parameter. |
void |
processEvent(javax.faces.event.SystemEvent event)
Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.
|
public boolean isListenerForSource(Object source)
javax.faces.event.SystemEventListenerThis method must return true if and only if this
listener instance is interested in receiving events from the
instance referenced by the source parameter.
isListenerForSource in interface javax.faces.event.SystemEventListenersource - the source that is inquiring about the
appropriateness of sending an event to this listener instance.public void processEvent(javax.faces.event.SystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.SystemEventListenerevent - the SystemEvent instance that
is being processed.javax.faces.event.AbortProcessingException - if lifecycle processing should
cease for this request.Copyright © 2010–2024 JBoss by Red Hat. All rights reserved.