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.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | addOmittedMessage(FacesContext jsf, String clientId, String key)
method for adding a message regarding missing ancestor to context |
| public boolean | isListenerForSource(Object
the source that is inquiring about the
appropriateness of sending an event to this listener instance. source)Implements javax. This method must return |
| public void | processEvent(SystemEvent
the event)SystemEvent instance that
is being processed.Implements javax. |
| ValidateComponentNesting | back to summary |
|---|---|
| public ValidateComponentNesting() | |
| addOmittedMessage | back to summary |
|---|---|
| private static void addOmittedMessage(FacesContext jsf, String clientId, String key) method for adding a message regarding missing ancestor to context | |
| isListenerForSource | back to summary |
|---|---|
| public boolean isListenerForSource(Object source) Implements javax. Doc from javax. This method must return | |
| processEvent | back to summary |
|---|---|
| public void processEvent(SystemEvent event) throws AbortProcessingException Implements javax. Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public VisitResult | visit(VisitContext
the context, UIComponent VisitContext for this tree visit.the target)UIComponent to visitImplements javax. This method is called during component tree visits by
|
| reportedOmittedFormOnce | back to summary |
|---|---|
| pack-priv boolean reportedOmittedFormOnce | |
| reportedOmittedMetadataOnce | back to summary |
|---|---|
| pack-priv boolean reportedOmittedMetadataOnce | |
| ValidateFormNestingCallback | back to summary |
|---|---|
| pack-priv ValidateFormNestingCallback() | |
| visit | back to summary |
|---|---|
| public VisitResult visit(VisitContext context, UIComponent target) Implements javax. Doc from javax. This method is called during component tree visits by
| |