public class ValidateComponentNesting extends Object implements 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(SystemEvent event)
Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.
|
public boolean isListenerForSource(Object source)
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 SystemEventListener
source
- the source that is inquiring about the
appropriateness of sending an event to this listener instance.public void processEvent(SystemEvent event) throws AbortProcessingException
processEvent
in interface SystemEventListener
event
- the SystemEvent
instance that
is being processed.AbortProcessingException
- if lifecycle processing should
cease for this request.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.