Uses of Class
jakarta.faces.component.UIComponent
Package
Description
Specialized user interface component classes for HTML.
-
Uses of UIComponent in com.sun.faces.application
Modifier and TypeMethodDescriptionApplicationImpl.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType) ApplicationImpl.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) ApplicationImpl.createComponent
(FacesContext context, Resource componentResource) ApplicationImpl.createComponent
(FacesContext context, String componentType, String rendererType) ApplicationImpl.createComponent
(String componentType) protected UIComponent
PropertyEditorHelper.getComponent()
Return theUIComponent
that is currently being processed.Modifier and TypeMethodDescriptionprotected void
PropertyEditorHelper.addConversionErrorMessage
(FacesContext context, UIComponent component, ConverterException ce) Add a conversion error message in the case of a PropertyEditor based conversion error. -
Uses of UIComponent in com.sun.faces.application.annotation
Modifier and TypeMethodDescriptionvoid
AnnotationManager.applyComponentAnnotations
(FacesContext ctx, UIComponent c) Apply annotations relevant toUIComponent
instances.void
AnnotationManager.applyRendererAnnotations
(FacesContext ctx, Renderer r, UIComponent c) Apply annotations relevent toRenderer
instances. -
Uses of UIComponent in com.sun.faces.application.applicationimpl
Modifier and TypeMethodDescriptionInstanceFactory.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType) InstanceFactory.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) InstanceFactory.createComponent
(FacesContext context, Resource componentResource, ExpressionFactory expressionFactory) InstanceFactory.createComponent
(FacesContext context, String componentType, String rendererType) InstanceFactory.createComponent
(String componentType) -
Uses of UIComponent in com.sun.faces.application.view
Modifier and TypeMethodDescriptionFaceletViewHandlingStrategy.createComponent
(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) Modifier and TypeMethodDescriptionvoid
FaceletViewHandlingStrategy.retargetAttachedObjects
(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) void
FaceletViewHandlingStrategy.retargetMethodExpressions
(FacesContext context, UIComponent topLevelComponent) -
Uses of UIComponent in com.sun.faces.cdi
Modifier and TypeMethodDescriptionCdiConverter.getAsObject
(FacesContext facesContext, UIComponent component, String value) Get the object.CdiConverter.getAsString
(FacesContext facesContext, UIComponent component, Object value) Get the string representation.void
CdiValidator.validate
(FacesContext facesContext, UIComponent component, Object value) Validate. -
Uses of UIComponent in com.sun.faces.component
Modifier and TypeClassDescriptionclass
class
Causes all child components of this component to be rendered.Modifier and TypeMethodDescriptionCompositeComponentStackManager.findCompositeComponentUsingLocation
(FacesContext ctx, Location location) CompositeComponentStackManager.getParentCompositeComponent
(CompositeComponentStackManager.StackType stackType, FacesContext ctx, UIComponent forComponent) CompositeComponentStackManager.peek()
CompositeComponentStackManager.peek
(CompositeComponentStackManager.StackType stackType) Modifier and TypeMethodDescriptionCompositeComponentStackManager.getParentCompositeComponent
(CompositeComponentStackManager.StackType stackType, FacesContext ctx, UIComponent forComponent) boolean
CompositeComponentStackManager.push
(UIComponent compositeComponent) Pushes the specified composite component to theEvaluation
stack.boolean
CompositeComponentStackManager.push
(UIComponent compositeComponent, CompositeComponentStackManager.StackType stackType) Pushes the specified composite component to the desiredStackType
stack. -
Uses of UIComponent in com.sun.faces.component.search
Modifier and TypeMethodDescriptionprotected <T> T
AbstractSearchKeywordResolverImpl.closest
(Class<T> type, UIComponent base) SearchExpressionContextFactoryImpl.getSearchExpressionContext
(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints) protected void
SearchExpressionHandlerImpl.invokeKeywordResolvers
(SearchExpressionContext searchExpressionContext, UIComponent previous, String keyword, String remainingExpression, ContextCallback callback) void
SearchExpressionHandlerImpl.invokeOnComponent
(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback) void
CompositeSearchKeywordResolver.resolve
(SearchKeywordContext context, UIComponent current, String keyword) void
SearchKeywordResolverImplAll.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplChild.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplComposite.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplForm.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplId.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplNamingContainer.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplNext.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplNone.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplParent.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplPrevious.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplRoot.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchKeywordResolverImplThis.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) void
SearchExpressionContextImpl.setSource
(UIComponent source) -
Uses of UIComponent in com.sun.faces.component.visit
Modifier and TypeMethodDescriptionFullVisitContext.getSubtreeIdsToVisit
(UIComponent component) PartialVisitContext.getSubtreeIdsToVisit
(UIComponent component) FullVisitContext.invokeVisitCallback
(UIComponent component, VisitCallback callback) PartialVisitContext.invokeVisitCallback
(UIComponent component, VisitCallback callback) -
Uses of UIComponent in com.sun.faces.context
Modifier and TypeMethodDescriptionStateContext.DynamicAddRemoveListener.getDynamicComponents()
Get the hash map of dynamic components.StateContext.getDynamicComponents()
Get the hash map of dynamic components.StateContext.NoopAddRemoveListener.getDynamicComponents()
Modifier and TypeMethodDescriptionboolean
StateContext.componentAddedDynamically
(UIComponent c) int
StateContext.getIndexOfDynamicallyAddedChildInParent
(UIComponent c) protected void
StateContext.DynamicAddRemoveListener.handleAdd
(FacesContext context, UIComponent component) Handle the add.protected void
StateContext.NoopAddRemoveListener.handleAdd
(FacesContext context, UIComponent component) protected void
StateContext.StatelessAddRemoveListener.handleAdd
(FacesContext context, UIComponent component) protected void
StateContext.DynamicAddRemoveListener.handleRemove
(FacesContext context, UIComponent component) Handle the remove.protected void
StateContext.NoopAddRemoveListener.handleRemove
(FacesContext context, UIComponent component) protected void
StateContext.StatelessAddRemoveListener.handleRemove
(FacesContext context, UIComponent component) boolean
StateContext.hasOneOrMoreDynamicChild
(UIComponent parent) -
Uses of UIComponent in com.sun.faces.el
Modifier and TypeMethodDescriptionCompositeComponentAttributesELResolver.getEvalMapFor
(UIComponent c, FacesContext ctx) Creates (if necessary) and caches anExpressionEvalMap
instance associated with the owningUIComponent
-
Uses of UIComponent in com.sun.faces.ext.component
Modifier and TypeMethodDescriptionstatic <C extends UIComponent>
CUIValidateWholeBean.getClosestParent
(UIComponent component, Class<C> parentType) Modifier and TypeMethodDescriptionstatic <C extends UIComponent>
CUIValidateWholeBean.getClosestParent
(UIComponent component, Class<C> parentType) static Object
MessageFactory.getLabel
(FacesContext context, UIComponent component) Returns thelabel
property from the specified component. -
Uses of UIComponent in com.sun.faces.facelets
Modifier and TypeMethodDescriptionboolean
TemplateClient.apply
(FaceletContext ctx, UIComponent parent, String name) This contract is much like the normal FaceletHandler.apply method, but it takes in an optional String name which tells this instance what fragment/definition it's looking for.abstract boolean
FaceletContextImplBase.includeDefinition
(UIComponent parent, String name) This method will walk through the TemplateClient stack to resolve and apply the definition for the passed name. -
Uses of UIComponent in com.sun.faces.facelets.compiler
Modifier and TypeClassDescriptionfinal class
class
final class
final class
Modifier and TypeMethodDescriptionUILeaf.getChildren()
UILeaf.getFacets()
UILeaf.getFacetsAndChildren()
Modifier and TypeMethodDescriptionvoid
AbstractUIHandler.addComponent
(FaceletContext ctx, UIComponent parent, UIComponent c) void
EncodingHandler.apply
(FaceletContext ctx, UIComponent parent) void
UILeaf.setParent
(UIComponent parent) -
Uses of UIComponent in com.sun.faces.facelets.component
Modifier and TypeMethodDescriptionvoid
RepeatRenderer.encodeBegin
(FacesContext context, UIComponent component) void
RepeatRenderer.encodeChildren
(FacesContext context, UIComponent component) void
RepeatRenderer.encodeEnd
(FacesContext context, UIComponent component) -
Uses of UIComponent in com.sun.faces.facelets.impl
Modifier and TypeMethodDescriptionDefaultFaceletFactory._createComponent
(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) -
Uses of UIComponent in com.sun.faces.facelets.tag.composite
Modifier and TypeMethodDescriptionBehaviorHolderWrapper.findComponent
(String expr) BehaviorHolderWrapper.getParent()
Modifier and TypeMethodDescriptionBehaviorHolderWrapper.getChildren()
BehaviorHolderWrapper.getFacets()
BehaviorHolderWrapper.getFacetsAndChildren()
AttachedObjectTargetImpl.getTargets
(UIComponent topLevelComponent) BehaviorHolderAttachedObjectTargetImpl.getTargets
(UIComponent topLevelComponent) Modifier and TypeMethodDescriptionvoid
AttachedObjectTargetHandler.apply
(FaceletContext ctx, UIComponent parent) void
AttributeHandler.apply
(FaceletContext ctx, UIComponent parent) void
DeclareFacetHandler.apply
(FaceletContext ctx, UIComponent parent) void
ExtensionHandler.apply
(FaceletContext ctx, UIComponent parent) void
ImplementationHandler.apply
(FaceletContext ctx, UIComponent parent) void
InsertChildrenHandler.apply
(FaceletContext ctx, UIComponent parent) void
InsertFacetHandler.apply
(FaceletContext ctx, UIComponent parent) void
InterfaceHandler.apply
(FaceletContext ctx, UIComponent parent) void
RetargetedAjaxBehavior.decode
(FacesContext context, UIComponent component) AttachedObjectTargetImpl.getTargets
(UIComponent topLevelComponent) BehaviorHolderAttachedObjectTargetImpl.getTargets
(UIComponent topLevelComponent) void
RenderFacetHandler.onComponentPopulated
(FaceletContext ctx, UIComponent c, UIComponent parent) void
BehaviorHolderWrapper.setParent
(UIComponent parent) ModifierConstructorDescriptionBehaviorHolderWrapper
(UIComponent parent, String virtualEvent, String event, ValueExpression targets) -
Uses of UIComponent in com.sun.faces.facelets.tag.faces
Modifier and TypeMethodDescriptionCompositeComponentTagHandler.createComponent
(FaceletContext ctx) PassThroughElementComponentHandler.createComponent
(FaceletContext ctx) static UIComponent
ComponentSupport.findChild
(UIComponent parent, String id) A lighter-weight version of UIComponent's findChild.protected UIComponent
ComponentTagHandlerDelegateImpl.findChild
(FaceletContext ctx, UIComponent parent, String tagId) static UIComponent
ComponentSupport.findChildByTagId
(FacesContext context, UIComponent parent, String id) By TagId, find Childprotected UIComponent
ComponentTagHandlerDelegateImpl.findReparentedComponent
(FaceletContext ctx, UIComponent parent, String tagId) static UIComponent
ComponentSupport.findUIInstructionChildByTagId
(FacesContext context, UIComponent parent, String id) CompositeComponentTagHandler.getCompositeComponent
(FacesContext context) Modifier and TypeMethodDescriptionstatic void
ComponentSupport.addComponent
(FaceletContext ctx, UIComponent parent, UIComponent child) Add the child component to the parent.protected void
ComponentTagHandlerDelegateImpl.addComponentToView
(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound) static void
ComponentSupport.addToDescendantMarkIdCache
(UIComponent component, UIComponent otherComponent) Adds the mark id of the specifiedUIComponent
otherComponent
to the mark id cache of this component, including all its descendant mark ids.void
ComponentTagHandlerDelegateImpl.apply
(FaceletContext ctx, UIComponent parent) Method handles UIComponent tree creation in accordance with the Faces 1.2 spec.void
ConverterTagHandlerDelegateImpl.apply
(FaceletContext ctx, UIComponent parent) void
ValidatorTagHandlerDelegateImpl.apply
(FaceletContext ctx, UIComponent parent) void
ConverterTagHandlerDelegateImpl.applyAttachedObject
(FacesContext context, UIComponent parent) void
ValidatorTagHandlerDelegateImpl.applyAttachedObject
(FacesContext context, UIComponent parent) void
CompositeComponentTagHandler.applyNextHandler
(FaceletContext ctx, UIComponent c) protected void
ComponentTagHandlerDelegateImpl.assignUniqueId
(FaceletContext ctx, UIComponent parent, String id, UIComponent c) static void
ComponentSupport.copyPassthroughAttributes
(FaceletContext ctx, UIComponent c, Tag t) protected void
ComponentTagHandlerDelegateImpl.doExistingComponentActions
(FaceletContext ctx, String id, UIComponent c) protected void
ComponentTagHandlerDelegateImpl.doNewComponentActions
(FaceletContext ctx, String id, UIComponent c) protected void
ComponentTagHandlerDelegateImpl.doOrphanedChildCleanup
(FaceletContext ctx, UIComponent parent, UIComponent c) static void
ComponentSupport.encodeRecursive
(FacesContext context, UIComponent viewToRender) static void
ComponentSupport.finalizeForDeletion
(UIComponent c) Used in conjunction with markForDeletion where any UIComponent marked will be removed.static UIComponent
ComponentSupport.findChild
(UIComponent parent, String id) A lighter-weight version of UIComponent's findChild.protected UIComponent
ComponentTagHandlerDelegateImpl.findChild
(FaceletContext ctx, UIComponent parent, String tagId) static UIComponent
ComponentSupport.findChildByTagId
(FacesContext context, UIComponent parent, String id) By TagId, find Childprotected UIComponent
ComponentTagHandlerDelegateImpl.findReparentedComponent
(FaceletContext ctx, UIComponent parent, String tagId) static UIComponent
ComponentSupport.findUIInstructionChildByTagId
(FacesContext context, UIComponent parent, String id) static AttachedBehaviors
AttachedBehaviors.getAttachedBehaviorsHandler
(UIComponent component) static List
<AttachedObjectHandler> CompositeComponentTagHandler.getAttachedObjectHandlers
(UIComponent component) static List
<AttachedObjectHandler> CompositeComponentTagHandler.getAttachedObjectHandlers
(UIComponent component, boolean create) static String
ComponentSupport.getFacetName
(UIComponent parent) static Tag
ComponentSupport.getTagForComponent
(FacesContext context, UIComponent c) static UIViewRoot
ComponentSupport.getViewRoot
(FaceletContext ctx, UIComponent parent) Tries to walk up the parent to find the UIViewRoot, if not found, then go to FaceletContext's FacesContext for the view root.static boolean
ComponentSupport.isImplicitPanel
(UIComponent component) static void
ComponentSupport.markForDeletion
(UIComponent c) Marks all direct children and Facets with an attribute for deletion.void
PassThroughElementComponentHandler.onComponentCreated
(FaceletContext ctx, UIComponent c, UIComponent parent) protected void
ComponentTagHandlerDelegateImpl.popComponentFromEL
(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager, boolean compCompPushed) protected boolean
ComponentTagHandlerDelegateImpl.pushComponentToEL
(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager) static void
ComponentSupport.removeFromDescendantMarkIdCache
(UIComponent component, UIComponent otherComponent) Removes the mark id of the specifiedUIComponent
otherComponent
from the mark id cache of this component, including all its descendant mark ids.static void
ComponentSupport.removeTransient
(UIComponent c) void
CompositeComponentTagHandler.setCompositeComponent
(FacesContext context, UIComponent cc) static Tag
ComponentSupport.setTagForComponent
(FacesContext context, UIComponent c, Tag t) Modifier and TypeMethodDescriptionstatic void
ComponentSupport.restoreFullDescendantComponentDeltaStates
(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, Object initialState, boolean restoreChildFacets) static void
ComponentSupport.restoreFullDescendantComponentStates
(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, boolean restoreChildFacets) static void
ComponentSupport.restoreTransientDescendantComponentStates
(FacesContext facesContext, Iterator<UIComponent> childIterator, Map<String, Object> state, boolean restoreChildFacets) ComponentSupport.saveDescendantComponentStates
(FacesContext facesContext, Map<String, Object> stateMap, Iterator<UIComponent> childIterator, BiFunction<UIComponent, FacesContext, Object> stateSaver, boolean saveChildFacets) ComponentSupport.saveDescendantComponentStates
(FacesContext facesContext, Map<String, Object> stateMap, Iterator<UIComponent> childIterator, BiFunction<UIComponent, FacesContext, Object> stateSaver, boolean saveChildFacets) static Collection
<Object[]> ComponentSupport.saveDescendantInitialComponentStates
(FacesContext facesContext, Iterator<UIComponent> childIterator, boolean saveChildFacets) -
Uses of UIComponent in com.sun.faces.facelets.tag.faces.core
Modifier and TypeMethodDescriptionvoid
ActionListenerHandlerBase.apply
(FaceletContext ctx, UIComponent parent) void
AjaxHandler.apply
(FaceletContext ctx, UIComponent parent) void
AttributeHandler.apply
(FaceletContext ctx, UIComponent parent) void
AttributesHandler.apply
(FaceletContext ctx, UIComponent parent) void
EventHandler.apply
(FaceletContext ctx, UIComponent parent) void
FacetHandler.apply
(FaceletContext ctx, UIComponent parent) void
LoadBundleHandler.apply
(FaceletContext ctx, UIComponent parent) See taglib documentation.void
MetadataHandler.apply
(FaceletContext ctx, UIComponent parent) void
PassThroughAttributeHandler.apply
(FaceletContext ctx, UIComponent parent) void
PassThroughAttributesHandler.apply
(FaceletContext ctx, UIComponent parent) void
PhaseListenerHandler.apply
(FaceletContext ctx, UIComponent parent) void
SetPropertyActionListenerHandler.apply
(FaceletContext ctx, UIComponent parent) void
ValueChangeListenerHandler.apply
(FaceletContext ctx, UIComponent parent) See taglib documentation.void
ViewHandler.apply
(FaceletContext ctx, UIComponent parent) See taglib documentation.void
ActionListenerHandler.applyAttachedObject
(FacesContext context, UIComponent parent) abstract void
ActionListenerHandlerBase.applyAttachedObject
(FacesContext context, UIComponent parent) void
AjaxHandler.applyAttachedObject
(FacesContext context, UIComponent parent) void
ResetValuesHandler.applyAttachedObject
(FacesContext context, UIComponent parent) void
SetPropertyActionListenerHandler.applyAttachedObject
(FacesContext context, UIComponent parent) void
ValueChangeListenerHandler.applyAttachedObject
(FacesContext context, UIComponent parent) -
Uses of UIComponent in com.sun.faces.facelets.tag.faces.html
Modifier and TypeMethodDescriptionprotected UIComponent
ComponentResourceDelegate.findChild
(FaceletContext ctx, UIComponent parent, String tagId) Modifier and TypeMethodDescriptionprotected void
ComponentResourceDelegate.addComponentToView
(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound) protected void
ComponentResourceDelegate.doOrphanedChildCleanup
(FaceletContext ctx, UIComponent parent, UIComponent c) protected UIComponent
ComponentResourceDelegate.findChild
(FaceletContext ctx, UIComponent parent, String tagId) -
Uses of UIComponent in com.sun.faces.facelets.tag.jstl.core
Modifier and TypeMethodDescriptionvoid
CatchHandler.apply
(FaceletContext ctx, UIComponent parent) void
ChooseHandler.apply
(FaceletContext ctx, UIComponent parent) void
ChooseOtherwiseHandler.apply
(FaceletContext ctx, UIComponent parent) void
ChooseWhenHandler.apply
(FaceletContext ctx, UIComponent parent) void
ForEachHandler.apply
(FaceletContext ctx, UIComponent parent) void
IfHandler.apply
(FaceletContext ctx, UIComponent parent) void
SetHandler.apply
(FaceletContext ctx, UIComponent parent) protected void
SetHandler.applyNextHandler
(FaceletContext ctx, UIComponent c) -
Uses of UIComponent in com.sun.faces.facelets.tag.ui
Modifier and TypeMethodDescriptionvoid
CompositionHandler.apply
(FaceletContext ctxObj, UIComponent parent) boolean
CompositionHandler.apply
(FaceletContext ctx, UIComponent parent, String name) void
DecorateHandler.apply
(FaceletContext ctxObj, UIComponent parent) boolean
DecorateHandler.apply
(FaceletContext ctx, UIComponent parent, String name) void
DefineHandler.apply
(FaceletContext ctx, UIComponent parent) void
IncludeHandler.apply
(FaceletContext ctx, UIComponent parent) void
InsertHandler.apply
(FaceletContext ctxObj, UIComponent parent) boolean
InsertHandler.apply
(FaceletContext ctx, UIComponent parent, String name) void
ParamHandler.apply
(FaceletContext ctx, UIComponent parent) void
SchemaCompliantRemoveHandler.apply
(FaceletContext ctx, UIComponent parent) void
DefineHandler.applyDefinition
(FaceletContext ctx, UIComponent parent) -
Uses of UIComponent in com.sun.faces.facelets.util
Modifier and TypeMethodDescriptionstatic void
DevTools.writeComponent
(Writer writer, UIComponent c) -
Uses of UIComponent in com.sun.faces.renderkit
Modifier and TypeMethodDescriptionstatic UIForm
RenderKitUtils.getForm
(UIComponent component, FacesContext context) Utility method to return the client ID of the parent form.static String
RenderKitUtils.getFormClientId
(UIComponent component, FacesContext context) Utility method to return the client ID of the parent form.static String
RenderKitUtils.getImageSource
(FacesContext context, UIComponent component, String attrName) Determine the path value of an image value for a component such as UIGraphic or UICommand.static SelectItemsIterator
<SelectItem> RenderKitUtils.getSelectItems
(FacesContext context, UIComponent component) Return a List ofSelectItem
instances representing the available options for this component, assembled from the set ofUISelectItem
and/orUISelectItems
components that are direct children of this component.static void
RenderKitUtils.renderFunction
(FacesContext context, UIComponent component, Collection<ClientBehaviorContext.Parameter> params, String submitTarget) static void
RenderKitUtils.renderOnchange
(FacesContext context, UIComponent component, boolean incExec) static void
RenderKitUtils.renderOnclick
(FacesContext context, UIComponent component, Collection<ClientBehaviorContext.Parameter> params, String submitTarget, boolean needsSubmit) static void
RenderKitUtils.renderPassThruAttributes
(FacesContext context, ResponseWriter writer, UIComponent component, Attribute[] attributes) Render any "passthru" attributes, where we simply just output the raw name and value of the attribute.static void
RenderKitUtils.renderPassThruAttributes
(FacesContext context, ResponseWriter writer, UIComponent component, Attribute[] attributes, Map<String, List<ClientBehavior>> behaviors) Render any "passthru" attributes, where we simply just output the raw name and value of the attribute.static void
RenderKitUtils.renderSelectOnclick
(FacesContext context, UIComponent component, boolean incExec) static void
RenderKitUtils.renderXHTMLStyleBooleanAttributes
(ResponseWriter writer, UIComponent component) Renders the attributes fromRenderKitUtils.BOOLEAN_ATTRIBUTES
usingXHMTL
semantics (i.e., disabled="disabled").static void
RenderKitUtils.renderXHTMLStyleBooleanAttributes
(ResponseWriter writer, UIComponent component, List<String> excludedAttributes) Renders the attributes fromRenderKitUtils.BOOLEAN_ATTRIBUTES
usingXHMTL
semantics (i.e., disabled="disabled").ModifierConstructorDescriptionSelectItemsIterator
(FacesContext ctx, UIComponent parent) Construct an iterator instance for the specified parent component. -
Uses of UIComponent in com.sun.faces.renderkit.html_basic
Modifier and TypeClassDescriptionstatic class
Used when a<h:selectOneRadio group>
doesn't have a select item; it will then get it via first radio of the group.Modifier and TypeMethodDescriptionprotected UIComponent
HtmlBasicRenderer.getFacet
(UIComponent component, String name) protected UIComponent
HtmlBasicRenderer.getForComponent
(FacesContext context, String forComponent, UIComponent component) Locates the component identified byforComponent
Modifier and TypeMethodDescriptionprotected Iterator
<UIComponent> HtmlBasicRenderer.getChildren
(UIComponent component) Modifier and TypeMethodDescriptionprotected String
HtmlBasicRenderer.augmentIdReference
(String forValue, UIComponent fromComponent) Conditionally augment an id-reference value.protected void
BaseTableRenderer.clearMetaInfo
(FacesContext context, UIComponent table) Removes the cached TableMetaInfo from the specified component.protected String
BaseTableRenderer.createKey
(UIComponent table) Creates a unique key based on the providedUIComponent
with which the TableMetaInfo can be looked up.void
AjaxBehaviorRenderer.decode
(FacesContext context, UIComponent component, ClientBehavior behavior) void
BodyRenderer.decode
(FacesContext context, UIComponent component) void
ButtonRenderer.decode
(FacesContext context, UIComponent component) void
CheckboxRenderer.decode
(FacesContext context, UIComponent component) void
CommandLinkRenderer.decode
(FacesContext context, UIComponent component) void
CommandScriptRenderer.decode
(FacesContext context, UIComponent component) void
DoctypeRenderer.decode
(FacesContext context, UIComponent component) void
FileRenderer.decode
(FacesContext context, UIComponent component) void
FormRenderer.decode
(FacesContext context, UIComponent component) void
HeadRenderer.decode
(FacesContext context, UIComponent component) void
HtmlBasicRenderer.decode
(FacesContext context, UIComponent component) void
MenuRenderer.decode
(FacesContext context, UIComponent component) void
OutcomeTargetRenderer.decode
(FacesContext context, UIComponent component) void
OutputLinkRenderer.decode
(FacesContext context, UIComponent component) void
RadioRenderer.decode
(FacesContext context, UIComponent component) This override delegates todecodeGroup(FacesContext context, UISelectOne radio, Group group)
when 'group' attribute is set.final void
ScriptStyleBaseRenderer.decode
(FacesContext context, UIComponent component) void
WebsocketRenderer.decode
(FacesContext context, UIComponent component) Decode all client behaviors.protected final String
HtmlBasicRenderer.decodeBehaviors
(FacesContext context, UIComponent component) void
BodyRenderer.encodeBegin
(FacesContext context, UIComponent component) Encode the beginning.void
ButtonRenderer.encodeBegin
(FacesContext context, UIComponent component) void
CheckboxRenderer.encodeBegin
(FacesContext context, UIComponent component) void
CommandLinkRenderer.encodeBegin
(FacesContext context, UIComponent component) void
CommandScriptRenderer.encodeBegin
(FacesContext context, UIComponent component) void
DoctypeRenderer.encodeBegin
(FacesContext context, UIComponent component) void
FileRenderer.encodeBegin
(FacesContext context, UIComponent component) void
FormRenderer.encodeBegin
(FacesContext context, UIComponent component) void
GridRenderer.encodeBegin
(FacesContext context, UIComponent component) void
GroupRenderer.encodeBegin
(FacesContext context, UIComponent component) void
HeadRenderer.encodeBegin
(FacesContext context, UIComponent component) void
HiddenRenderer.encodeBegin
(FacesContext context, UIComponent component) void
ImageRenderer.encodeBegin
(FacesContext context, UIComponent component) void
LabelRenderer.encodeBegin
(FacesContext context, UIComponent component) void
MenuRenderer.encodeBegin
(FacesContext context, UIComponent component) void
MessageRenderer.encodeBegin
(FacesContext context, UIComponent component) void
MessagesRenderer.encodeBegin
(FacesContext context, UIComponent component) void
OutcomeTargetButtonRenderer.encodeBegin
(FacesContext context, UIComponent component) void
OutcomeTargetLinkRenderer.encodeBegin
(FacesContext context, UIComponent component) void
OutputLinkRenderer.encodeBegin
(FacesContext context, UIComponent component) void
OutputMessageRenderer.encodeBegin
(FacesContext context, UIComponent component) void
PassthroughRenderer.encodeBegin
(FacesContext context, UIComponent component) void
ScriptStyleBaseRenderer.encodeBegin
(FacesContext context, UIComponent component) void
SecretRenderer.encodeBegin
(FacesContext context, UIComponent component) void
TableRenderer.encodeBegin
(FacesContext context, UIComponent component) void
TextareaRenderer.encodeBegin
(FacesContext context, UIComponent component) void
TextRenderer.encodeBegin
(FacesContext context, UIComponent component) void
BodyRenderer.encodeChildren
(FacesContext context, UIComponent component) void
CommandLinkRenderer.encodeChildren
(FacesContext context, UIComponent component) void
CompositeFacetRenderer.encodeChildren
(FacesContext context, UIComponent component) void
CompositeRenderer.encodeChildren
(FacesContext context, UIComponent component) void
DoctypeRenderer.encodeChildren
(FacesContext context, UIComponent component) void
GridRenderer.encodeChildren
(FacesContext context, UIComponent component) void
GroupRenderer.encodeChildren
(FacesContext context, UIComponent component) void
HeadRenderer.encodeChildren
(FacesContext context, UIComponent component) void
MessageRenderer.encodeChildren
(FacesContext context, UIComponent component) void
OutputLinkRenderer.encodeChildren
(FacesContext context, UIComponent component) void
PassthroughRenderer.encodeChildren
(FacesContext context, UIComponent component) final void
ScriptStyleBaseRenderer.encodeChildren
(FacesContext context, UIComponent component) void
TableRenderer.encodeChildren
(FacesContext context, UIComponent component) void
TextRenderer.encodeChildren
(FacesContext context, UIComponent component) void
BodyRenderer.encodeEnd
(FacesContext context, UIComponent component) void
ButtonRenderer.encodeEnd
(FacesContext context, UIComponent component) void
CommandLinkRenderer.encodeEnd
(FacesContext context, UIComponent component) void
CommandScriptRenderer.encodeEnd
(FacesContext context, UIComponent component) void
DoctypeRenderer.encodeEnd
(FacesContext context, UIComponent component) void
FormRenderer.encodeEnd
(FacesContext context, UIComponent component) void
GridRenderer.encodeEnd
(FacesContext context, UIComponent component) void
GroupRenderer.encodeEnd
(FacesContext context, UIComponent component) void
HeadRenderer.encodeEnd
(FacesContext context, UIComponent component) void
HtmlBasicRenderer.encodeEnd
(FacesContext context, UIComponent component) void
ImageRenderer.encodeEnd
(FacesContext context, UIComponent component) void
LabelRenderer.encodeEnd
(FacesContext context, UIComponent component) void
MenuRenderer.encodeEnd
(FacesContext context, UIComponent component) void
MessageRenderer.encodeEnd
(FacesContext context, UIComponent component) void
MessagesRenderer.encodeEnd
(FacesContext context, UIComponent component) void
OutcomeTargetButtonRenderer.encodeEnd
(FacesContext context, UIComponent component) void
OutcomeTargetLinkRenderer.encodeEnd
(FacesContext context, UIComponent component) void
OutputLinkRenderer.encodeEnd
(FacesContext context, UIComponent component) void
OutputMessageRenderer.encodeEnd
(FacesContext context, UIComponent component) void
PassthroughRenderer.encodeEnd
(FacesContext context, UIComponent component) void
RadioRenderer.encodeEnd
(FacesContext context, UIComponent component) This override delegates toencodeEndGroup(FacesContext context, UISelectOne radio, Group group)
when 'group' attribute is set.void
ScriptStyleBaseRenderer.encodeEnd
(FacesContext context, UIComponent component) void
SelectManyCheckboxListRenderer.encodeEnd
(FacesContext context, UIComponent component) void
TableRenderer.encodeEnd
(FacesContext context, UIComponent component) void
WebsocketRenderer.encodeEnd
(FacesContext context, UIComponent component) Renderfaces.push.init()
function if necessary.protected void
HtmlBasicRenderer.encodeRecursive
(FacesContext context, UIComponent component) Render nested child components by invoking the encode methods on those components, but only when therendered
property istrue
.protected void
ScriptRenderer.endExternalElement
(ResponseWriter writer, UIComponent component, String resourceUrl) protected abstract void
ScriptStyleBaseRenderer.endExternalElement
(ResponseWriter writer, UIComponent component, String resourceUrl) Allow the subclass to customize the end external element content.protected void
StylesheetRenderer.endExternalElement
(ResponseWriter writer, UIComponent component, String resourceUrl) protected void
ScriptRenderer.endInlineElement
(ResponseWriter writer, UIComponent component) protected abstract void
ScriptStyleBaseRenderer.endInlineElement
(ResponseWriter writer, UIComponent component) Allow the subclass to customize the end inline element content.protected void
StylesheetRenderer.endInlineElement
(ResponseWriter writer, UIComponent component) protected Collection
<ClientBehaviorContext.Parameter> HtmlBasicRenderer.getBehaviorParameters
(UIComponent command) Collections parameters for use with Behavior script rendering.protected Iterator
<UIComponent> HtmlBasicRenderer.getChildren
(UIComponent component) CheckboxRenderer.getConvertedValue
(FacesContext context, UIComponent component, Object submittedValue) FileRenderer.getConvertedValue
(FacesContext context, UIComponent component, Object submittedValue) HtmlBasicInputRenderer.getConvertedValue
(FacesContext context, UIComponent component, Object submittedValue) MenuRenderer.getConvertedValue
(FacesContext context, UIComponent component, Object submittedValue) protected Object
MenuRenderer.getCurrentSelectedValues
(UIComponent component) protected String
HtmlBasicRenderer.getCurrentValue
(FacesContext context, UIComponent component) protected String
OutcomeTargetRenderer.getEncodedTargetURL
(FacesContext context, UIComponent component, NavigationCase navCase) Resolve the target view id and then delegate toViewHandler.getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean)
to produce a redirect URL, which will add the page parameters if necessary and properly prioritizing the parameter overrides.protected void
CheckboxRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) protected void
FileRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) protected void
HiddenRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) protected void
HtmlBasicRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) Renderers override this method to write appropriate HTML content into the buffer.protected void
SecretRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) protected void
TextareaRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) protected void
TextRenderer.getEndTextToRender
(FacesContext context, UIComponent component, String currentValue) protected UIComponent
HtmlBasicRenderer.getFacet
(UIComponent component, String name) protected UIComponent
HtmlBasicRenderer.getForComponent
(FacesContext context, String forComponent, UIComponent component) Locates the component identified byforComponent
protected String
LabelRenderer.getForComponentClientId
(UIComponent component, FacesContext context, String forValue) Builds and returns the clientId of the component that is represented by the forValue.protected String
HtmlBasicRenderer.getFormattedValue
(FacesContext context, UIComponent component, Object currentValue) protected String
HtmlBasicRenderer.getFormattedValue
(FacesContext context, UIComponent component, Object currentValue, Converter converter) Overloads getFormattedValue to take a advantage of a previously obtained converter.protected String
OutcomeTargetRenderer.getFragment
(UIComponent component) protected String
OutputLinkRenderer.getFragment
(UIComponent component) protected String
OutcomeTargetRenderer.getLabel
(UIComponent component) protected Iterator
HtmlBasicRenderer.getMessageIter
(FacesContext context, String forComponent, UIComponent component) protected BaseTableRenderer.TableMetaInfo
BaseTableRenderer.getMetaInfo
(FacesContext context, UIComponent table) Returns aTableMetaInfo
object containing details such as row and column classes, columns, and a mechanism for scrolling through the row/column classes.protected String
MenuRenderer.getMultipleText
(UIComponent component) protected NavigationCase
OutcomeTargetRenderer.getNavigationCase
(FacesContext context, UIComponent component) Invoke theNavigationHandler
preemptively to resolve aNavigationCase
for the outcome declared on theUIOutcomeTarget
component.protected static Map
<String, List<ClientBehavior>> HtmlBasicInputRenderer.getNonOnChangeBehaviors
(UIComponent component) protected static Map
<String, List<ClientBehavior>> HtmlBasicInputRenderer.getNonOnClickSelectBehaviors
(UIComponent component) protected String
OutcomeTargetButtonRenderer.getOnclick
(UIComponent component, String targetURI) protected HtmlBasicRenderer.Param[]
HtmlBasicRenderer.getParamList
(UIComponent command) OutcomeTargetRenderer.getParamOverrides
(UIComponent component) protected static Map
<String, List<ClientBehavior>> HtmlBasicRenderer.getPassThruBehaviors
(UIComponent component, String domEventName, String componentEventName) When rendering pass thru attributes, we need to take any attached Behaviors into account.protected Object[]
MenuRenderer.getSubmittedSelectedValues
(UIComponent component) protected Object
CommandLinkRenderer.getValue
(UIComponent component) protected Object
HtmlBasicInputRenderer.getValue
(UIComponent component) protected Object
HtmlBasicRenderer.getValue
(UIComponent component) protected Object
OutcomeTargetRenderer.getValue
(UIComponent component) protected Object
OutputLinkRenderer.getValue
(UIComponent component) protected static boolean
MenuRenderer.isHideNoSelection
(UIComponent component) protected boolean
OutcomeTargetRenderer.isIncludeViewParams
(UIComponent component, NavigationCase navcase) protected boolean
MenuRenderer.isSelected
(FacesContext context, UIComponent component, Object itemValue, Object valueArray, Converter<?> converter) protected void
CommandLinkRenderer.renderAsActive
(FacesContext context, UIComponent command) protected abstract void
LinkRenderer.renderAsActive
(FacesContext context, UIComponent component) protected void
OutcomeTargetLinkRenderer.renderAsActive
(FacesContext context, NavigationCase navCase, UIComponent component) protected void
OutputLinkRenderer.renderAsActive
(FacesContext context, UIComponent component) protected void
LinkRenderer.renderAsDisabled
(FacesContext context, UIComponent component) protected void
OutcomeTargetLinkRenderer.renderAsDisabled
(FacesContext context, UIComponent component, boolean failedToResolveNavigationCase) protected void
SelectManyCheckboxListRenderer.renderBeginText
(UIComponent component, int border, Boolean newTableRow, FacesContext context, boolean outerElement) protected void
BaseTableRenderer.renderCaption
(FacesContext context, UIComponent table, ResponseWriter writer) Renders the caption of the table applying the values ofcaptionClass
as the class andcaptionStyle
as the style if either are present.protected void
TableRenderer.renderColumnGroups
(FacesContext context, UIComponent table) protected void
SelectManyCheckboxListRenderer.renderEndText
(UIComponent component, Boolean newTableRow, FacesContext context) protected void
HtmlBasicRenderer.rendererParamsNotNull
(FacesContext context, UIComponent component) protected abstract void
BaseTableRenderer.renderFooter
(FacesContext context, UIComponent table, ResponseWriter writer) Called to render the opening/closingtfoot
elements and any content nested between.protected void
GridRenderer.renderFooter
(FacesContext context, UIComponent table, ResponseWriter writer) protected void
TableRenderer.renderFooter
(FacesContext context, UIComponent table, ResponseWriter writer) protected abstract void
BaseTableRenderer.renderHeader
(FacesContext context, UIComponent table, ResponseWriter writer) Called to render the opening/closingthead
elements and any content nested between.protected void
GridRenderer.renderHeader
(FacesContext context, UIComponent table, ResponseWriter writer) protected void
TableRenderer.renderHeader
(FacesContext context, UIComponent table, ResponseWriter writer) protected void
RadioRenderer.renderInput
(FacesContext context, ResponseWriter writer, UIComponent component, String clientId, Object itemValue, Converter<?> converter, boolean checked, boolean disabled, RadioRenderer.Group group) protected void
RadioRenderer.renderLabel
(ResponseWriter writer, UIComponent component, String forClientId, SelectItem curItem, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected void
OutcomeTargetLinkRenderer.renderLinkCommonAttributes
(ResponseWriter writer, UIComponent component) protected boolean
MenuRenderer.renderOption
(FacesContext context, UIComponent component, UIComponent selectComponent, Converter<?> converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected void
RadioRenderer.renderOption
(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected void
SelectManyCheckboxListRenderer.renderOption
(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected int
MenuRenderer.renderOptions
(FacesContext context, UIComponent component, SelectItemsIterator<SelectItem> items) protected void
OutcomeTargetRenderer.renderPassThruAttributes
(FacesContext ctx, ResponseWriter writer, UIComponent component, Attribute[] attributes, List excludedAttributes) protected abstract void
BaseTableRenderer.renderRow
(FacesContext context, UIComponent table, UIComponent row, ResponseWriter writer) Call to render the content that should be included between opening and closingtr
elements.protected void
GridRenderer.renderRow
(FacesContext context, UIComponent table, UIComponent child, ResponseWriter writer) protected void
TableRenderer.renderRow
(FacesContext context, UIComponent table, UIComponent child, ResponseWriter writer) protected void
BaseTableRenderer.renderRowEnd
(FacesContext context, UIComponent table, ResponseWriter writer) Renders the closingrt
element.protected void
BaseTableRenderer.renderRowStart
(FacesContext context, UIComponent table, ResponseWriter writer) Renders the startingtr
element applying any values from therowClasses
attribute.protected void
MenuRenderer.renderSelect
(FacesContext context, UIComponent component) protected void
BaseTableRenderer.renderTableBodyEnd
(FacesContext context, UIComponent table, ResponseWriter writer) Renders the closingtbody
element.protected void
BaseTableRenderer.renderTableBodyStart
(FacesContext context, UIComponent table, ResponseWriter writer) Renders the startingtbody
element.protected void
BaseTableRenderer.renderTableEnd
(FacesContext context, UIComponent table, ResponseWriter writer) Renders the closingtable
element.protected void
BaseTableRenderer.renderTableStart
(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) Renders the start of a table and applies the value ofstyleClass
if available and renders any pass through attributes that may be specified.void
HtmlBasicInputRenderer.setSubmittedValue
(UIComponent component, Object value) protected void
HtmlBasicRenderer.setSubmittedValue
(UIComponent component, Object value) Renderers override this method to store the previous value of the associated component.protected boolean
HtmlBasicRenderer.shouldDecode
(UIComponent component) protected boolean
HtmlBasicRenderer.shouldEncode
(UIComponent component) protected boolean
HtmlBasicRenderer.shouldEncodeChildren
(UIComponent component) protected boolean
HtmlBasicRenderer.shouldWriteIdAttribute
(UIComponent component) void
HtmlResponseWriter.startElement
(String name, UIComponent componentForElement) Write the start of an element, up to and including the element name.protected void
ScriptRenderer.startExternalElement
(FacesContext context, ResponseWriter writer, UIComponent component) protected abstract void
ScriptStyleBaseRenderer.startExternalElement
(FacesContext context, ResponseWriter writer, UIComponent component) Allow the subclass to customize the start external element content.protected void
StylesheetRenderer.startExternalElement
(FacesContext context, ResponseWriter writer, UIComponent component) protected void
ScriptRenderer.startInlineElement
(FacesContext context, ResponseWriter writer, UIComponent component) protected abstract void
ScriptStyleBaseRenderer.startInlineElement
(FacesContext context, ResponseWriter writer, UIComponent component) Allow the subclass to customize the start inline element content.protected void
StylesheetRenderer.startInlineElement
(FacesContext context, ResponseWriter writer, UIComponent component) protected void
LinkRenderer.writeCommonLinkAttributes
(ResponseWriter writer, UIComponent component) protected void
OutcomeTargetLinkRenderer.writeIdAndNameAttributes
(FacesContext context, ResponseWriter writer, UIComponent component) protected String
HtmlBasicRenderer.writeIdAttributeIfNecessary
(FacesContext context, ResponseWriter writer, UIComponent component) protected void
LinkRenderer.writeValue
(UIComponent component, ResponseWriter writer) protected void
OutcomeTargetLinkRenderer.writeValue
(ResponseWriter writer, UIComponent component) ModifierConstructorDescriptionOptionComponentInfo
(UIComponent component) TableMetaInfo
(UIComponent table) -
Uses of UIComponent in com.sun.faces.util
Modifier and TypeMethodDescriptionstatic void
Util.checkIdUniqueness
(FacesContext context, UIComponent component, Set<String> componentIds) Utility method to validate ID uniqueness for the tree represented bycomponent
.static List
<SelectItem> SelectItemUtils.collectSelectItems
(FacesContext context, UIComponent component) static boolean
Util.componentIsDisabled
(UIComponent component) static boolean
Util.componentIsDisabledOrReadonly
(UIComponent component) static <S extends SelectItem>
SSelectItemUtils.createSelectItem
(UIComponent component, Object value, Supplier<S> supplier) static <S extends SelectItem>
voidSelectItemUtils.createSelectItems
(FacesContext context, UIComponent component, Object values, Supplier<S> supplier, Consumer<S> callback) static Object
MessageFactory.getLabel
(FacesContext context, UIComponent component) Returns thelabel
property from the specified component.static ValueExpression
Util.getValueExpressionNullSafe
(UIComponent component, String name) static boolean
Util.isNestedInIterator
(FacesContext context, UIComponent component) static String
DebugUtil.printTree
(UIComponent root) static void
DebugUtil.printTree
(UIComponent root, PrintStream out) Output of printTree() to a PrintStream.static void
DebugUtil.printTree
(UIComponent root, Writer out) static void
DebugUtil.printTree
(UIComponent root, Logger logger, Level level) static void
DebugUtil.simplePrintTree
(UIComponent root, String duplicateId, Writer out) -
Uses of UIComponent in jakarta.faces.application
Modifier and TypeMethodDescriptionApplication.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType) Application.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) LikeApplication.createComponent(ValueExpression, FacesContext, String)
except theRenderer
for the component to be returned must be inspected for the annotations mentioned inApplication.createComponent(ValueExpression, FacesContext, String)
as specified in the documentation for that method.Application.createComponent
(FacesContext context, Resource componentResource) Application.createComponent
(FacesContext context, String componentType, String rendererType) LikeApplication.createComponent(String)
except theRenderer
for the component to be returned must be inspected for the annotations mentioned inApplication.createComponent(ValueExpression, FacesContext, String)
as specified in the documentation for that method.abstract UIComponent
Application.createComponent
(String componentType) Instantiate and return a newUIComponent
instance of the class specified by a previous call toaddComponent()
for the specified component type.ApplicationWrapper.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType) The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String)
on the wrappedApplication
object.ApplicationWrapper.createComponent
(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String, String)
on the wrappedApplication
object.ApplicationWrapper.createComponent
(FacesContext context, Resource componentResource) The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, Resource)
on the wrappedApplication
object.ApplicationWrapper.createComponent
(FacesContext context, String componentType, String rendererType) The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, String, String)
on the wrappedApplication
object.ApplicationWrapper.createComponent
(String componentType) The default behavior of this method is to callApplication.createComponent(String)
on the wrappedApplication
object. -
Uses of UIComponent in jakarta.faces.component
Modifier and TypeClassDescriptionclass
UIColumn is aUIComponent
that represents a single column of data within a parentUIData
component.class
UICommand is aUIComponent
that represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".class
UIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined byUIComponent
.class
UIData is aUIComponent
that supports data binding to a collection of data objects represented by aDataModel
instance, which is the current value of this component itself (typically established via aValueExpression
).class
UIForm is aUIComponent
that represents an input form to be presented to the user, and whose child components represent (among other things) the input fields to be included when the form is submitted.class
UIGraphic is aUIComponent
that displays a graphical image to the user.class
class
UIInput is aUIComponent
that represents a component that both displays output to the user (likeUIOutput
components do) and processes request parameters on the subsequent request that need to be decoded.class
This component is responsible for displaying messages for a specificUIComponent
, identified by aclientId
or component id relative to the closest ancestorNamingContainer
.class
The renderer for this component is responsible for obtaining the messages from theFacesContext
and displaying them to the user.class
UINamingContainer is a convenience base class for components that wish to implementNamingContainer
functionality.class
This component is paired with thejakarta.faces.Button
orjakarta.faces.Link
renderers and encapsulates properties relating to the rendering of outcomes directly to the response.class
UIOutput is aUIComponent
that has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.class
UIPanel is aUIComponent
that manages the layout of its child components.class
UIParameter is aUIComponent
that represents an optionally named configuration parameter for a parent component.class
class
UISelectItem is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of aSelectItem
instance to the list of available options for the parent component.class
UISelectItemGroup is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of oneSelectItemGroup
of one or moreSelectItem
instances to the list of available options in the parent component.class
UISelectItemGroups is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of one or moreSelectItemGroup
of one or moreSelectItem
instances to the list of available options in the parent component.class
UISelectItems is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of one or moreSelectItem
instances to the list of available options in the parent component.class
UISelectMany is aUIComponent
that represents the user's choice of a zero or more items from among a discrete set of available options.class
UISelectOne is aUIComponent
that represents the user's choice of zero or one items from among a discrete set of available options.class
UIViewAction represents a method invocation that occurs during the request processing lifecycle, usually in response to an initial request, as opposed to a postback.class
UIViewParameter represents a binding between a request parameter and a model property orUIViewRoot
property.class
UIViewRoot is the UIComponent that represents the root of the UIComponent tree.class
The<f:websocket>
tag opens an one-way (server to client) websocket based push connection in client side which can be reached from server side viaPushContext
interface injected in any CDI/container managed artifact via@
Push
annotation.Modifier and TypeMethodDescriptionabstract UIComponent
UIComponent.findComponent
(String expr) Search for and return theUIComponent
with anid
that matches the specified search expression (if any), according to the algorithm described below.UIComponentBase.findComponent
(String expression) static UIComponent
UIComponent.getCompositeComponentParent
(UIComponent component) Finds the nearest composite component parent of the specified component.static UIComponent
UIComponent.getCurrentComponent
(FacesContext context) Return theUIComponent
instance that is currently processing.static UIComponent
UIComponent.getCurrentCompositeComponent
(FacesContext context) Return the closest ancestor component, relative to the component returned fromgetCurrentComponent(jakarta.faces.context.FacesContext)
, that is a composite component, ornull
if no such component exists.abstract UIComponent
Convenience method to return the named facet, if it exists, ornull
otherwise.UIColumn.getFooter()
Return the footer facet of the column (if any).UIData.getFooter()
Return the footer facet of this component (if any).UIColumn.getHeader()
Return the header facet of the column (if any).UIData.getHeader()
Return the header facet of this component (if any).UIComponent.getNamingContainer()
Starting with "this", return the closest component in the ancestry that is aNamingContainer
ornull
if none can be found.abstract UIComponent
UIComponent.getParent()
Return the parentUIComponent
of thisUIComponent
, if any.UIComponentBase.getParent()
Modifier and TypeMethodDescriptionabstract List
<UIComponent> UIComponent.getChildren()
UIComponentBase.getChildren()
UIViewRoot.getComponentResources
(FacesContext context) Return an unmodifiable orderedList
of allUIComponent
resources of all supported targets.UIViewRoot.getComponentResources
(FacesContext context, String target) abstract Map
<String, UIComponent> UIComponent.getFacets()
Return a mutableMap
representing the facetUIComponent
s associated with thisUIComponent
, keyed by facet name (which must be a String).UIComponentBase.getFacets()
abstract Iterator
<UIComponent> UIComponent.getFacetsAndChildren()
UIComponentBase.getFacetsAndChildren()
Modifier and TypeMethodDescriptionvoid
UIViewRoot.addComponentResource
(FacesContext context, UIComponent componentResource) Add argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.void
UIViewRoot.addComponentResource
(FacesContext context, UIComponent componentResource, String target) Add argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.static UIComponent
UIComponent.getCompositeComponentParent
(UIComponent component) Finds the nearest composite component parent of the specified component.void
ContextCallback.invokeContextCallback
(FacesContext context, UIComponent target) This method will be called by an implementation ofinvokeOnComponent(jakarta.faces.context.FacesContext, java.lang.String, jakarta.faces.component.ContextCallback)
and must be passed the component with theclientId
given as an argument toinvokeOnComponent
.static boolean
UIComponent.isCompositeComponent
(UIComponent component) Returntrue
ifcomponent
is a composite component, otherwisefalse
.void
UIComponent.pushComponentToEL
(FacesContext context, UIComponent component) Push the currentUIComponent
this
to theFacesContext
attribute map saving the previousUIComponent
for a subsequent call topopComponentFromEL(jakarta.faces.context.FacesContext)
.void
UIViewRoot.removeComponentResource
(FacesContext context, UIComponent componentResource) Remove argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.void
UIViewRoot.removeComponentResource
(FacesContext context, UIComponent componentResource, String target) Remove argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.void
UIColumn.setFooter
(UIComponent footer) Set the footer facet of the column.void
UIData.setFooter
(UIComponent footer) Set the footer facet of this component.void
UIColumn.setHeader
(UIComponent header) Set the header facet of the column.void
UIData.setHeader
(UIComponent header) Set the header facet of this component.abstract void
UIComponent.setParent
(UIComponent parent) Set the parentUIComponent
of thisUIComponent
.void
UIComponentBase.setParent
(UIComponent parent) -
Uses of UIComponent in jakarta.faces.component.behavior
Modifier and TypeMethodDescriptionabstract UIComponent
ClientBehaviorContext.getComponent()
Returns theUIComponent
that is requesting theClientBehavior
script.Modifier and TypeMethodDescriptionstatic ClientBehaviorContext
ClientBehaviorContext.createClientBehaviorContext
(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters) Creates a ClientBehaviorContext instance.void
ClientBehavior.decode
(FacesContext context, UIComponent component) Decode any new state of thisClientBehavior
from the request contained in the specifiedFacesContext
.void
ClientBehaviorBase.decode
(FacesContext context, UIComponent component) Default implementation of ofClientBehavior.decode(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)
. -
Uses of UIComponent in jakarta.faces.component.html
Modifier and TypeClassDescriptionclass
NONEclass
Represents a column that will be rendered in an HTMLtable
element.class
Represents an HTMLinput
element for a button of typesubmit
orreset
.class
Represents an HTMLa
element for a hyperlink that acts like a submit button.class
Represents an HTMLscript
element for a function that acts like an ajax form submit.class
Represents a set of repeating data (segregated into columns by child UIColumn components) that will be rendered in an HTMLtable
element.class
NONEclass
Represents an HTMLform
element.class
Represents an HTMLimg
element, used to retrieve and render a graphical image.class
NONEclass
Represents an HTMLinput
element of typefile
.class
Represents an HTMLinput
element of typehidden
.class
Represents an HTMLinput
element of typepassword
.class
Represents an HTMLinput
element of typetext
.class
Represents an HTMLtextarea
element.class
By default, therendererType
property must be set to "jakarta.faces.Message
".class
By default, therendererType
property must be set to "jakarta.faces.Messages
".class
Represents an HTMLinput
element of type "button" or image that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by theoutcome
property.class
Represents an HTMLa
(hyperlink) element that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by theoutcome
property.class
Represents a component that looks up a localized message in a resource bundle, optionally uses it as aMessageFormat
pattern string and substitutes in parameter values from nested UIParameter components, and renders the result.class
Represents an HTMLlabel
element, used to define an accessible label for a corresponding input element.class
Represents an HTMLa
(hyperlink) element that may be used to link to an arbitrary URL defined by thevalue
property.class
Renders the component value as text, optionally wrapping in aspan
element if I18N attributes, CSS styles or style classes are specified.class
Renders child components in a table, starting a new row after the specified number of columns.class
Causes all child components of this component to be rendered.class
Represents an HTMLinput
element of typecheckbox
.class
Represents a multiple-selection component that is rendered as a set of HTMLinput
elements of typecheckbox
.class
Represents a multiple-selection component that is rendered as an HTMLselect
element, showing either all available options or the specified number of options.class
Represents a multiple-selection component that is rendered as an HTMLselect
element, showing a single available option at a time.class
Represents a single-selection component that is rendered as an HTMLselect
element, showing either all available options or the specified number of options.class
Represents a single-selection component that is rendered as an HTMLselect
element, showing a single available option at a time.class
Represents a single-selection component that is rendered as a set of HTMLinput
elements of typeradio
. -
Uses of UIComponent in jakarta.faces.component.search
Modifier and TypeMethodDescriptionabstract UIComponent
SearchExpressionContext.getSource()
Returns the source / base component from which we will start to perform our search.Modifier and TypeMethodDescriptionstatic SearchExpressionContext
SearchExpressionContext.createSearchExpressionContext
(FacesContext context, UIComponent source) Creates aSearchExpressionContext
instance for use with theSearchExpressionHandler
.static SearchExpressionContext
SearchExpressionContext.createSearchExpressionContext
(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints) Creates aSearchExpressionContext
instance for use with theSearchExpressionHandler
.abstract SearchExpressionContext
SearchExpressionContextFactory.getSearchExpressionContext
(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints) Creates aSearchExpressionContext
instance for use with theSearchExpressionHandler
.void
SearchKeywordContext.invokeContextCallback
(UIComponent target) This method will be called by an implementation ofSearchKeywordResolver.resolve(jakarta.faces.component.search.SearchKeywordContext, jakarta.faces.component.UIComponent, java.lang.String)
with the resolved component for the keyword.abstract void
SearchExpressionHandler.invokeOnComponent
(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback) Resolves multipleUIComponent
s for the given expression.void
SearchExpressionHandlerWrapper.invokeOnComponent
(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback) abstract void
SearchKeywordResolver.resolve
(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) Try to resolve one or multipleUIComponent
s based on the keyword and callsSearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent)
for each resolved component. -
Uses of UIComponent in jakarta.faces.component.visit
Modifier and TypeMethodDescriptionabstract Collection
<String> VisitContext.getSubtreeIdsToVisit
(UIComponent component) Given aNamingContainer
component, returns the client ids of any components underneath the NamingContainer that should be visited.VisitContextWrapper.getSubtreeIdsToVisit
(UIComponent component) abstract VisitResult
VisitContext.invokeVisitCallback
(UIComponent component, VisitCallback callback) Called byUIComponent.visitTree()
to visit a single component.VisitContextWrapper.invokeVisitCallback
(UIComponent component, VisitCallback callback) VisitCallback.visit
(VisitContext context, UIComponent target) This method is called during component tree visits byVisitContext.invokeVisitCallback()
to visit the specified component. -
Uses of UIComponent in jakarta.faces.context
Modifier and TypeMethodDescriptionabstract void
ResponseWriter.startElement
(String name, UIComponent component) Write the start of an element, up to and including the element name.void
ResponseWriterWrapper.startElement
(String name, UIComponent component) The default behavior of this method is to callResponseWriter.startElement(String, jakarta.faces.component.UIComponent)
on the wrappedResponseWriter
object.void
ResponseWriter.writeText
(Object text, UIComponent component, String property) Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered.void
ResponseWriterWrapper.writeText
(Object text, UIComponent component, String property) The default behavior of this method is to callResponseWriter.writeText(Object, UIComponent, String)
on the wrappedResponseWriter
object. -
Uses of UIComponent in jakarta.faces.convert
Modifier and TypeMethodDescriptionBigDecimalConverter.getAsObject
(FacesContext context, UIComponent component, String value) BigIntegerConverter.getAsObject
(FacesContext context, UIComponent component, String value) BooleanConverter.getAsObject
(FacesContext context, UIComponent component, String value) ByteConverter.getAsObject
(FacesContext context, UIComponent component, String value) CharacterConverter.getAsObject
(FacesContext context, UIComponent component, String value) Converter.getAsObject
(FacesContext context, UIComponent component, String value) Convert the specified string value, which is associated with the specifiedUIComponent
, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.DateTimeConverter.getAsObject
(FacesContext context, UIComponent component, String value) DoubleConverter.getAsObject
(FacesContext context, UIComponent component, String value) EnumConverter.getAsObject
(FacesContext context, UIComponent component, String value) Convert thevalue
argument to one of the enum constants of the class provided in our constructor.FloatConverter.getAsObject
(FacesContext context, UIComponent component, String value) IntegerConverter.getAsObject
(FacesContext context, UIComponent component, String value) LongConverter.getAsObject
(FacesContext context, UIComponent component, String value) NumberConverter.getAsObject
(FacesContext context, UIComponent component, String value) ShortConverter.getAsObject
(FacesContext context, UIComponent component, String value) UUIDConverter.getAsObject
(FacesContext context, UIComponent component, String value) BigDecimalConverter.getAsString
(FacesContext context, UIComponent component, Object value) BigIntegerConverter.getAsString
(FacesContext context, UIComponent component, Object value) BooleanConverter.getAsString
(FacesContext context, UIComponent component, Object value) ByteConverter.getAsString
(FacesContext context, UIComponent component, Object value) CharacterConverter.getAsString
(FacesContext context, UIComponent component, Object value) Converter.getAsString
(FacesContext context, UIComponent component, T value) Convert the specified model object value, which is associated with the specifiedUIComponent
, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.DateTimeConverter.getAsString
(FacesContext context, UIComponent component, Object value) DoubleConverter.getAsString
(FacesContext context, UIComponent component, Object value) EnumConverter.getAsString
(FacesContext context, UIComponent component, Object value) Convert the enum constant given by thevalue
argument into a String.FloatConverter.getAsString
(FacesContext context, UIComponent component, Object value) IntegerConverter.getAsString
(FacesContext context, UIComponent component, Object value) LongConverter.getAsString
(FacesContext context, UIComponent component, Object value) NumberConverter.getAsString
(FacesContext context, UIComponent component, Object value) ShortConverter.getAsString
(FacesContext context, UIComponent component, Object value) UUIDConverter.getAsString
(FacesContext context, UIComponent component, UUID value) -
Uses of UIComponent in jakarta.faces.event
Modifier and TypeMethodDescriptionComponentSystemEvent.getComponent()
the sourceUIComponent
that sent this event.ExceptionQueuedEventContext.getComponent()
Return theUIComponent
which was being processed when the exception was thrown.FacesEvent.getComponent()
Return the sourceUIComponent
that sent this event.Modifier and TypeMethodDescriptionvoid
PostRestoreStateEvent.setComponent
(UIComponent newComponent) ModifierConstructorDescriptionActionEvent
(UIComponent component) Construct a new event object from the specified source component and action command.ActionEvent
(FacesContext facesContext, UIComponent component) Construct a new event object from the Faces context, specified source component and action command.AjaxBehaviorEvent
(UIComponent component, Behavior behavior) Construct a new event object from the specified source component and Ajax behavior.AjaxBehaviorEvent
(FacesContext facesContext, UIComponent component, Behavior behavior) Construct a new event object from the Faces context, specified source component and Ajax behavior.BehaviorEvent
(UIComponent component, Behavior behavior) Construct a new event object from the specified source component andbehavior
.BehaviorEvent
(FacesContext facesContext, UIComponent component, Behavior behavior) Construct a new event object from the Faces context, specified source component and behavior.ComponentSystemEvent
(UIComponent component) Pass the argumentcomponent
to the superclass constructor.ComponentSystemEvent
(FacesContext facesContext, UIComponent component) Pass the argumentcomponent
to the superclass constructor.ExceptionQueuedEventContext
(FacesContext context, Throwable thrown, UIComponent component) Instantiate a newExceptionQueuedEventContext
that indicates the argumentThrowable
just occurred, relevant to the argumentcomponent
.ExceptionQueuedEventContext
(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId) Instantiate a newExceptionQueuedEventContext
that indicates the argumentThrowable
just occurred, relevant to the argumentcomponent
, during the lifecycle phasephaseId
.FacesEvent
(UIComponent component) Construct a new event object from the specified source component.FacesEvent
(FacesContext facesContext, UIComponent component) Construct a new event object from the Faces context and specified source component.PostAddToViewEvent
(UIComponent component) Instantiate a newPostAddToViewEvent
that indicates the argumentcomponent
was just added to the view.PostAddToViewEvent
(FacesContext facesContext, UIComponent component) Instantiate a newPostAddToViewEvent
that indicates the argumentcomponent
was just added to the view.PostRestoreStateEvent
(UIComponent component) Instantiate a newPostRestoreStateEvent
that indicates the argumentcomponent
just had its state restored.PostRestoreStateEvent
(FacesContext facesContext, UIComponent component) Instantiate a newPostRestoreStateEvent
that indicates the argumentcomponent
just had its state restored.PostValidateEvent
(UIComponent component) ConstructorPostValidateEvent
(FacesContext facesContext, UIComponent component) ConstructorPreRemoveFromViewEvent
(UIComponent component) Instantiate a newBeforeRemoveFromView
that indicates the argumentcomponent
is about to be removed from the view.PreRemoveFromViewEvent
(FacesContext facesContext, UIComponent component) Instantiate a newBeforeRemoveFromView
that indicates the argumentcomponent
is about to be removed from the view.PreRenderComponentEvent
(UIComponent component) Instantiate a newPreRenderComponentEvent
that indicates the argumentcomponent
is about to be rendered.PreRenderComponentEvent
(FacesContext facesContext, UIComponent component) Instantiate a newPreRenderComponentEvent
that indicates the argumentcomponent
is about to be rendered.PreValidateEvent
(UIComponent component) ConstructorPreValidateEvent
(FacesContext facesContext, UIComponent component) ConstructorValueChangeEvent
(UIComponent component, Object oldValue, Object newValue) Construct a new event object from the specified source component, old value, and new value.ValueChangeEvent
(FacesContext facesContext, UIComponent component, Object oldValue, Object newValue) Construct a new event object from the Faces context, specified source component, old value and new value. -
Uses of UIComponent in jakarta.faces.render
Modifier and TypeClassDescriptionclass
Renderer<T extends UIComponent>
A Renderer converts the internal representation ofUIComponent
s into the output stream (or writer) associated with the response we are creating for a particular request.Modifier and TypeMethodDescriptionvoid
ClientBehaviorRenderer.decode
(FacesContext context, UIComponent component, ClientBehavior behavior) Decode any new state of thisClientBehavior
from the request contained in the specifiedFacesContext
.void
RendererWrapper.decode
(FacesContext context, UIComponent component) void
RendererWrapper.encodeBegin
(FacesContext context, UIComponent component) void
RendererWrapper.encodeChildren
(FacesContext context, UIComponent component) void
RendererWrapper.encodeEnd
(FacesContext context, UIComponent component) RendererWrapper.getConvertedValue
(FacesContext context, UIComponent component, Object submittedValue) -
Uses of UIComponent in jakarta.faces.validator
Modifier and TypeMethodDescriptionvoid
BeanValidator.validate
(FacesContext context, UIComponent component, Object value) Verify that the value is valid according to the Bean Validation constraints.void
DoubleRangeValidator.validate
(FacesContext context, UIComponent component, Object value) void
LengthValidator.validate
(FacesContext context, UIComponent component, Object value) void
LongRangeValidator.validate
(FacesContext context, UIComponent component, Object value) void
MethodExpressionValidator.validate
(FacesContext context, UIComponent component, Object value) void
RegexValidator.validate
(FacesContext context, UIComponent component, Object value) Validate a String against a regular expression pattern.void
RequiredValidator.validate
(FacesContext context, UIComponent component, Object value) Verify that the converted object value is not null.void
Validator.validate
(FacesContext context, UIComponent component, T value) -
Uses of UIComponent in jakarta.faces.view
Modifier and TypeMethodDescriptionViewDeclarationLanguage.createComponent
(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) Create a component given aViewDeclarationLanguage
specific tag library URI and tag name.ViewDeclarationLanguageWrapper.createComponent
(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) Modifier and TypeMethodDescriptionAttachedObjectTarget.getTargets
(UIComponent topLevelComponent) Returns theList<UIComponent>
that thisAttachedObjectTarget
exposes.Modifier and TypeMethodDescriptionvoid
AttachedObjectHandler.applyAttachedObject
(FacesContext context, UIComponent parent) Take the argumentparent
and apply this attached object to it.AttachedObjectTarget.getTargets
(UIComponent topLevelComponent) Returns theList<UIComponent>
that thisAttachedObjectTarget
exposes.void
ViewDeclarationLanguage.retargetAttachedObjects
(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) Assuming the component metadata for argumenttopLevelComponent
has been made available by an earlier call toViewDeclarationLanguage.getComponentMetadata(jakarta.faces.context.FacesContext, jakarta.faces.application.Resource)
, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individualAttachedObjectTarget
instances inside the composite component.void
ViewDeclarationLanguageWrapper.retargetAttachedObjects
(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) void
ViewDeclarationLanguage.retargetMethodExpressions
(FacesContext context, UIComponent topLevelComponent) Assuming the component metadata for argumenttopLevelComponent
has been made available by an earlier call toViewDeclarationLanguage.getComponentMetadata(jakarta.faces.context.FacesContext, jakarta.faces.application.Resource)
, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component.void
ViewDeclarationLanguageWrapper.retargetMethodExpressions
(FacesContext context, UIComponent topLevelComponent) -
Uses of UIComponent in jakarta.faces.view.facelets
Modifier and TypeMethodDescriptionComponentHandler.createComponent
(FaceletContext ctx) Subclasses that wish to take over the task of instantiating theUIComponent
instance corresponding to this tag handler my override this method to do so.Modifier and TypeMethodDescriptionvoid
CompositeFaceletHandler.apply
(FaceletContext ctx, UIComponent parent) Calls apply on any child handlers.void
DelegatingMetaTagHandler.apply
(FaceletContext ctx, UIComponent parent) The default implementation simply calls through toTagHandlerDelegate.apply(jakarta.faces.view.facelets.FaceletContext, jakarta.faces.component.UIComponent)
.abstract void
Facelet.apply
(FacesContext facesContext, UIComponent parent) The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document.void
FaceletHandler.apply
(FaceletContext ctx, UIComponent parent) Process changes on a particular UIComponentabstract void
TagHandlerDelegate.apply
(FaceletContext ctx, UIComponent comp) final void
FaceletsAttachedObjectHandler.applyAttachedObject
(FacesContext ctx, UIComponent parent) Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argumentparent
.void
Facelet.applyMetadata
(FacesContext facesContext, UIComponent parent) The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document with only the meta data as per thef:metadata
tag.void
DelegatingMetaTagHandler.applyNextHandler
(FaceletContext ctx, UIComponent c) Invoke theapply()
method on this instance'sTagHandler.nextHandler
.abstract void
FaceletContext.includeFacelet
(UIComponent parent, String relativePath) Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in Jakarta Server Pages)abstract void
FaceletContext.includeFacelet
(UIComponent parent, URL absolutePath) Include another Facelet defined at some path, absolute to this ClassLoader/OSstatic boolean
ComponentHandler.isNew
(UIComponent component) Determine if the passed component is not null and if it's new to the tree.void
ComponentHandler.onComponentCreated
(FaceletContext ctx, UIComponent c, UIComponent parent) This method is guaranteed to be called after the component has been created but before it has been populated with children.void
ComponentHandler.onComponentPopulated
(FaceletContext ctx, UIComponent c, UIComponent parent) This method is guaranteed to be called after the component has been populated with children.