public class ValidateComponentNesting extends Object implements jakarta.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(jakarta.faces.event.SystemEvent event)
Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.
|
public boolean isListenerForSource(Object source)
jakarta.faces.event.SystemEventListener
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.
isListenerForSource in interface jakarta.faces.event.SystemEventListenersource - the source that is inquiring about the appropriateness of sending an event to this listener instance.public void processEvent(jakarta.faces.event.SystemEvent event)
throws jakarta.faces.event.AbortProcessingException
processEvent in interface jakarta.faces.event.SystemEventListenerevent - the SystemEvent instance that is being processed.jakarta.faces.event.AbortProcessingException - if lifecycle processing should cease for this request.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.