Top Description Inners Fields Constructors Methods
com.sun.faces.facelets.tag.composite

public Class InsertChildrenHandler

extends TagHandlerImpl
Class Inheritance
Imports
java.io.IOException, java.util.List, java.util.logging.Level, .Logger, com.sun.faces.facelets.tag.TagHandlerImpl, com.sun.faces.facelets.tag.faces.ComponentSupport, com.sun.faces.util.FacesLogger, jakarta.faces.application.Resource, jakarta.faces.component.UIComponent, jakarta.faces.event.AbortProcessingException, .ComponentSystemEvent, .PostAddToViewEvent, jakarta.faces.view.Location, jakarta.faces.view.facelets.FaceletContext, .TagAttribute, .TagConfig, .TagException

This TagHandler is responsible for relocating children defined within a composite component to a component within the composite component's composite:implementation section.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
public static final String
private final Logger
private TagAttribute
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
apply(FaceletContext
the current FaceletContext instance for this execution
ctx
,
UIComponent
the parent UIComponent to operate upon
parent
)

Implements jakarta.faces.view.facelets.FaceletHandler.apply.

Process changes on a particular UIComponent

Inherited from com.sun.faces.facelets.tag.TagHandlerImpl:
findNextByTypefindNextByType

Field Detail

INDEX_ATTRIBUTEback to summary
public static final String INDEX_ATTRIBUTE
LOGGERback to summary
private final Logger LOGGER
requiredback to summary
private TagAttribute required
REQUIRED_ATTRIBUTEback to summary
private static final String REQUIRED_ATTRIBUTE

Constructor Detail

InsertChildrenHandlerback to summary
public InsertChildrenHandler(TagConfig config)

Method Detail

applyback to summary
public void apply(FaceletContext ctx, UIComponent parent) throws IOException

Implements jakarta.faces.view.facelets.FaceletHandler.apply.

Doc from jakarta.faces.view.facelets.FaceletHandler.apply.

Process changes on a particular UIComponent

Parameters
ctx:FaceletContext

the current FaceletContext instance for this execution

parent:UIComponent

the parent UIComponent to operate upon

Annotations
@Override
Exceptions
IOException:
if unable to load relativePath
com.sun.faces.facelets.tag.composite back to summary

private Class InsertChildrenHandler.RelocateChildrenListener

extends RelocateListener
Class Inheritance

Field Summary

Modifier and TypeField and Description
private UIComponent
private FaceletContext
private int
private Location

Constructor Summary

AccessConstructor and Description
pack-priv
RelocateChildrenListener(FaceletContext ctx, UIComponent component, int idx, Location location)

Method Summary

Modifier and TypeMethod and Description
private int
private boolean
public void
processEvent(ComponentSystemEvent
the ComponentSystemEvent instance that is being processed.
event
)

Implements jakarta.faces.event.ComponentSystemEventListener.processEvent.

When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.

private void
Inherited from com.sun.faces.facelets.tag.composite.RelocateListener:
getBackingResourceisTransientresourcesMatchrestoreStatesaveStatesetTransient

Field Detail

componentback to summary
private UIComponent component
ctxback to summary
private FaceletContext ctx
idxback to summary
private int idx
locationback to summary
private Location location

Constructor Detail

RelocateChildrenListenerback to summary
pack-priv RelocateChildrenListener(FaceletContext ctx, UIComponent component, int idx, Location location)

Method Detail

getIdxback to summary
private int getIdx()
isRequiredback to summary
private boolean isRequired()
processEventback to summary
public void processEvent(ComponentSystemEvent event) throws AbortProcessingException

Implements jakarta.faces.event.ComponentSystemEventListener.processEvent.

Doc from jakarta.faces.event.ComponentSystemEventListener.processEvent.

When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.

Parameters
event:ComponentSystemEvent

the ComponentSystemEvent instance that is being processed.

Annotations
@Override
Exceptions
AbortProcessingException:
if lifecycle processing should cease for this request.
throwRequiredExceptionback to summary
private void throwRequiredException(FaceletContext ctx, UIComponent compositeParent)