Uses of Class
jakarta.faces.component.UIComponent
Packages that use UIComponent
Package
Description
Specialized user interface component classes for HTML.
-
Uses of UIComponent in com.sun.faces.application
Methods in com.sun.faces.application that return UIComponentModifier 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 UIComponentPropertyEditorHelper.getComponent()Return theUIComponentthat is currently being processed.Methods in com.sun.faces.application with parameters of type UIComponentModifier and TypeMethodDescriptionprotected voidPropertyEditorHelper.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
Methods in com.sun.faces.application.annotation with parameters of type UIComponentModifier and TypeMethodDescriptionvoidAnnotationManager.applyComponentAnnotations(FacesContext ctx, UIComponent c) Apply annotations relevant toUIComponentinstances.voidAnnotationManager.applyRendererAnnotations(FacesContext ctx, Renderer r, UIComponent c) Apply annotations relevent toRendererinstances. -
Uses of UIComponent in com.sun.faces.application.applicationimpl
Methods in com.sun.faces.application.applicationimpl that return UIComponentModifier 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
Methods in com.sun.faces.application.view that return UIComponentModifier and TypeMethodDescriptionFaceletViewHandlingStrategy.createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) Methods in com.sun.faces.application.view with parameters of type UIComponentModifier and TypeMethodDescriptionvoidFaceletViewHandlingStrategy.retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) voidFaceletViewHandlingStrategy.retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent) -
Uses of UIComponent in com.sun.faces.cdi
Methods in com.sun.faces.cdi with parameters of type UIComponentModifier and TypeMethodDescriptionCdiConverter.getAsObject(FacesContext facesContext, UIComponent component, String value) Get the object.CdiConverter.getAsString(FacesContext facesContext, UIComponent component, Object value) Get the string representation.voidCdiValidator.validate(FacesContext facesContext, UIComponent component, Object value) Validate. -
Uses of UIComponent in com.sun.faces.component
Subclasses of UIComponent in com.sun.faces.componentModifier and TypeClassDescriptionclassclassCauses all child components of this component to be rendered.Methods in com.sun.faces.component that return UIComponentModifier and TypeMethodDescriptionCompositeComponentStackManager.findCompositeComponentUsingLocation(FacesContext ctx, Location location) CompositeComponentStackManager.getParentCompositeComponent(CompositeComponentStackManager.StackType stackType, FacesContext ctx, UIComponent forComponent) CompositeComponentStackManager.peek()CompositeComponentStackManager.peek(CompositeComponentStackManager.StackType stackType) Methods in com.sun.faces.component with parameters of type UIComponentModifier and TypeMethodDescriptionCompositeComponentStackManager.getParentCompositeComponent(CompositeComponentStackManager.StackType stackType, FacesContext ctx, UIComponent forComponent) booleanCompositeComponentStackManager.push(UIComponent compositeComponent) Pushes the specified composite component to theEvaluationstack.booleanCompositeComponentStackManager.push(UIComponent compositeComponent, CompositeComponentStackManager.StackType stackType) Pushes the specified composite component to the desiredStackTypestack. -
Uses of UIComponent in com.sun.faces.component.search
Methods in com.sun.faces.component.search that return UIComponentMethods in com.sun.faces.component.search with parameters of type UIComponentModifier and TypeMethodDescriptionprotected <T> TAbstractSearchKeywordResolverImpl.closest(Class<T> type, UIComponent base) SearchExpressionContextFactoryImpl.getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints) protected voidSearchExpressionHandlerImpl.invokeKeywordResolvers(SearchExpressionContext searchExpressionContext, UIComponent previous, String keyword, String remainingExpression, ContextCallback callback) voidSearchExpressionHandlerImpl.invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback) voidCompositeSearchKeywordResolver.resolve(SearchKeywordContext context, UIComponent current, String keyword) voidSearchKeywordResolverImplAll.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplChild.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplComposite.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplForm.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplId.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplNamingContainer.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplNext.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplNone.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplParent.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplPrevious.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplRoot.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchKeywordResolverImplThis.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) voidSearchExpressionContextImpl.setSource(UIComponent source) -
Uses of UIComponent in com.sun.faces.component.visit
Methods in com.sun.faces.component.visit with parameters of type UIComponentModifier 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
Methods in com.sun.faces.context that return types with arguments of type UIComponentModifier and TypeMethodDescriptionStateContext.DynamicAddRemoveListener.getDynamicComponents()Get the hash map of dynamic components.StateContext.getDynamicComponents()Get the hash map of dynamic components.StateContext.NoopAddRemoveListener.getDynamicComponents()Methods in com.sun.faces.context with parameters of type UIComponentModifier and TypeMethodDescriptionbooleanStateContext.componentAddedDynamically(UIComponent c) intStateContext.getIndexOfDynamicallyAddedChildInParent(UIComponent c) protected voidStateContext.DynamicAddRemoveListener.handleAdd(FacesContext context, UIComponent component) Handle the add.protected voidStateContext.NoopAddRemoveListener.handleAdd(FacesContext context, UIComponent component) protected voidStateContext.StatelessAddRemoveListener.handleAdd(FacesContext context, UIComponent component) protected voidStateContext.DynamicAddRemoveListener.handleRemove(FacesContext context, UIComponent component) Handle the remove.protected voidStateContext.NoopAddRemoveListener.handleRemove(FacesContext context, UIComponent component) protected voidStateContext.StatelessAddRemoveListener.handleRemove(FacesContext context, UIComponent component) booleanStateContext.hasOneOrMoreDynamicChild(UIComponent parent) -
Uses of UIComponent in com.sun.faces.el
Methods in com.sun.faces.el with parameters of type UIComponentModifier and TypeMethodDescriptionCompositeComponentAttributesELResolver.getEvalMapFor(UIComponent c, FacesContext ctx) Creates (if necessary) and caches anExpressionEvalMapinstance associated with the owningUIComponent -
Uses of UIComponent in com.sun.faces.ext.component
Subclasses of UIComponent in com.sun.faces.ext.componentMethods in com.sun.faces.ext.component with type parameters of type UIComponentModifier and TypeMethodDescriptionstatic <C extends UIComponent>
CUIValidateWholeBean.getClosestParent(UIComponent component, Class<C> parentType) Methods in com.sun.faces.ext.component with parameters of type UIComponentModifier and TypeMethodDescriptionstatic <C extends UIComponent>
CUIValidateWholeBean.getClosestParent(UIComponent component, Class<C> parentType) static ObjectMessageFactory.getLabel(FacesContext context, UIComponent component) Returns thelabelproperty from the specified component. -
Uses of UIComponent in com.sun.faces.facelets
Methods in com.sun.faces.facelets with parameters of type UIComponentModifier and TypeMethodDescriptionbooleanTemplateClient.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 booleanFaceletContextImplBase.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
Subclasses of UIComponent in com.sun.faces.facelets.compilerModifier and TypeClassDescriptionfinal classclassfinal classfinal classMethods in com.sun.faces.facelets.compiler that return UIComponentMethods in com.sun.faces.facelets.compiler that return types with arguments of type UIComponentModifier and TypeMethodDescriptionUILeaf.getChildren()UILeaf.getFacets()UILeaf.getFacetsAndChildren()Methods in com.sun.faces.facelets.compiler with parameters of type UIComponentModifier and TypeMethodDescriptionvoidAbstractUIHandler.addComponent(FaceletContext ctx, UIComponent parent, UIComponent c) voidEncodingHandler.apply(FaceletContext ctx, UIComponent parent) voidUILeaf.setParent(UIComponent parent) -
Uses of UIComponent in com.sun.faces.facelets.component
Subclasses of UIComponent in com.sun.faces.facelets.componentMethods in com.sun.faces.facelets.component with parameters of type UIComponentModifier and TypeMethodDescriptionvoidRepeatRenderer.encodeBegin(FacesContext context, UIComponent component) voidRepeatRenderer.encodeChildren(FacesContext context, UIComponent component) voidRepeatRenderer.encodeEnd(FacesContext context, UIComponent component) -
Uses of UIComponent in com.sun.faces.facelets.impl
Methods in com.sun.faces.facelets.impl that return UIComponentModifier and TypeMethodDescriptionDefaultFaceletFactory._createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) -
Uses of UIComponent in com.sun.faces.facelets.tag.composite
Subclasses of UIComponent in com.sun.faces.facelets.tag.compositeMethods in com.sun.faces.facelets.tag.composite that return UIComponentModifier and TypeMethodDescriptionBehaviorHolderWrapper.findComponent(String expr) BehaviorHolderWrapper.getParent()Methods in com.sun.faces.facelets.tag.composite that return types with arguments of type UIComponentModifier and TypeMethodDescriptionBehaviorHolderWrapper.getChildren()BehaviorHolderWrapper.getFacets()BehaviorHolderWrapper.getFacetsAndChildren()AttachedObjectTargetImpl.getTargets(UIComponent topLevelComponent) BehaviorHolderAttachedObjectTargetImpl.getTargets(UIComponent topLevelComponent) Methods in com.sun.faces.facelets.tag.composite with parameters of type UIComponentModifier and TypeMethodDescriptionvoidAttachedObjectTargetHandler.apply(FaceletContext ctx, UIComponent parent) voidAttributeHandler.apply(FaceletContext ctx, UIComponent parent) voidDeclareFacetHandler.apply(FaceletContext ctx, UIComponent parent) voidExtensionHandler.apply(FaceletContext ctx, UIComponent parent) voidImplementationHandler.apply(FaceletContext ctx, UIComponent parent) voidInsertChildrenHandler.apply(FaceletContext ctx, UIComponent parent) voidInsertFacetHandler.apply(FaceletContext ctx, UIComponent parent) voidInterfaceHandler.apply(FaceletContext ctx, UIComponent parent) voidRetargetedAjaxBehavior.decode(FacesContext context, UIComponent component) AttachedObjectTargetImpl.getTargets(UIComponent topLevelComponent) BehaviorHolderAttachedObjectTargetImpl.getTargets(UIComponent topLevelComponent) voidRenderFacetHandler.onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent) voidBehaviorHolderWrapper.setParent(UIComponent parent) Constructors in com.sun.faces.facelets.tag.composite with parameters of type UIComponentModifierConstructorDescriptionBehaviorHolderWrapper(UIComponent parent, String virtualEvent, String event, ValueExpression targets) -
Uses of UIComponent in com.sun.faces.facelets.tag.faces
Subclasses of UIComponent in com.sun.faces.facelets.tag.facesMethods in com.sun.faces.facelets.tag.faces that return UIComponentModifier and TypeMethodDescriptionCompositeComponentTagHandler.createComponent(FaceletContext ctx) PassThroughElementComponentHandler.createComponent(FaceletContext ctx) static UIComponentComponentSupport.findChild(UIComponent parent, String id) A lighter-weight version of UIComponent's findChild.protected UIComponentComponentTagHandlerDelegateImpl.findChild(FaceletContext ctx, UIComponent parent, String tagId) static UIComponentComponentSupport.findChildByTagId(FacesContext context, UIComponent parent, String id) By TagId, find Childprotected UIComponentComponentTagHandlerDelegateImpl.findReparentedComponent(FaceletContext ctx, UIComponent parent, String tagId) static UIComponentComponentSupport.findUIInstructionChildByTagId(FacesContext context, UIComponent parent, String id) CompositeComponentTagHandler.getCompositeComponent(FacesContext context) Methods in com.sun.faces.facelets.tag.faces with parameters of type UIComponentModifier and TypeMethodDescriptionstatic voidComponentSupport.addComponent(FaceletContext ctx, UIComponent parent, UIComponent child) Add the child component to the parent.protected voidComponentTagHandlerDelegateImpl.addComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound) static voidComponentSupport.addToDescendantMarkIdCache(UIComponent component, UIComponent otherComponent) Adds the mark id of the specifiedUIComponentotherComponentto the mark id cache of this component, including all its descendant mark ids.voidComponentTagHandlerDelegateImpl.apply(FaceletContext ctx, UIComponent parent) Method handles UIComponent tree creation in accordance with the Faces 1.2 spec.voidConverterTagHandlerDelegateImpl.apply(FaceletContext ctx, UIComponent parent) voidValidatorTagHandlerDelegateImpl.apply(FaceletContext ctx, UIComponent parent) voidConverterTagHandlerDelegateImpl.applyAttachedObject(FacesContext context, UIComponent parent) voidValidatorTagHandlerDelegateImpl.applyAttachedObject(FacesContext context, UIComponent parent) voidCompositeComponentTagHandler.applyNextHandler(FaceletContext ctx, UIComponent c) protected voidComponentTagHandlerDelegateImpl.assignUniqueId(FaceletContext ctx, UIComponent parent, String id, UIComponent c) static voidComponentSupport.copyPassthroughAttributes(FaceletContext ctx, UIComponent c, Tag t) protected voidComponentTagHandlerDelegateImpl.doExistingComponentActions(FaceletContext ctx, String id, UIComponent c) protected voidComponentTagHandlerDelegateImpl.doNewComponentActions(FaceletContext ctx, String id, UIComponent c) protected voidComponentTagHandlerDelegateImpl.doOrphanedChildCleanup(FaceletContext ctx, UIComponent parent, UIComponent c) static voidComponentSupport.encodeRecursive(FacesContext context, UIComponent viewToRender) static voidComponentSupport.finalizeForDeletion(UIComponent c) Used in conjunction with markForDeletion where any UIComponent marked will be removed.static UIComponentComponentSupport.findChild(UIComponent parent, String id) A lighter-weight version of UIComponent's findChild.protected UIComponentComponentTagHandlerDelegateImpl.findChild(FaceletContext ctx, UIComponent parent, String tagId) static UIComponentComponentSupport.findChildByTagId(FacesContext context, UIComponent parent, String id) By TagId, find Childprotected UIComponentComponentTagHandlerDelegateImpl.findReparentedComponent(FaceletContext ctx, UIComponent parent, String tagId) static UIComponentComponentSupport.findUIInstructionChildByTagId(FacesContext context, UIComponent parent, String id) static AttachedBehaviorsAttachedBehaviors.getAttachedBehaviorsHandler(UIComponent component) static List<AttachedObjectHandler> CompositeComponentTagHandler.getAttachedObjectHandlers(UIComponent component) static List<AttachedObjectHandler> CompositeComponentTagHandler.getAttachedObjectHandlers(UIComponent component, boolean create) static StringComponentSupport.getFacetName(UIComponent parent) static TagComponentSupport.getTagForComponent(FacesContext context, UIComponent c) static UIViewRootComponentSupport.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 booleanComponentSupport.isImplicitPanel(UIComponent component) static voidComponentSupport.markForDeletion(UIComponent c) Marks all direct children and Facets with an attribute for deletion.voidPassThroughElementComponentHandler.onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent) protected voidComponentTagHandlerDelegateImpl.popComponentFromEL(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager, boolean compCompPushed) protected booleanComponentTagHandlerDelegateImpl.pushComponentToEL(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager) static voidComponentSupport.removeFromDescendantMarkIdCache(UIComponent component, UIComponent otherComponent) Removes the mark id of the specifiedUIComponentotherComponentfrom the mark id cache of this component, including all its descendant mark ids.static voidComponentSupport.removeTransient(UIComponent c) voidCompositeComponentTagHandler.setCompositeComponent(FacesContext context, UIComponent cc) static TagComponentSupport.setTagForComponent(FacesContext context, UIComponent c, Tag t) Method parameters in com.sun.faces.facelets.tag.faces with type arguments of type UIComponentModifier and TypeMethodDescriptionstatic voidComponentSupport.restoreFullDescendantComponentDeltaStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, Object initialState, boolean restoreChildFacets) static voidComponentSupport.restoreFullDescendantComponentStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, boolean restoreChildFacets) static voidComponentSupport.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
Methods in com.sun.faces.facelets.tag.faces.core with parameters of type UIComponentModifier and TypeMethodDescriptionvoidActionListenerHandlerBase.apply(FaceletContext ctx, UIComponent parent) voidAjaxHandler.apply(FaceletContext ctx, UIComponent parent) voidAttributeHandler.apply(FaceletContext ctx, UIComponent parent) voidAttributesHandler.apply(FaceletContext ctx, UIComponent parent) voidEventHandler.apply(FaceletContext ctx, UIComponent parent) voidFacetHandler.apply(FaceletContext ctx, UIComponent parent) voidLoadBundleHandler.apply(FaceletContext ctx, UIComponent parent) See taglib documentation.voidMetadataHandler.apply(FaceletContext ctx, UIComponent parent) voidPassThroughAttributeHandler.apply(FaceletContext ctx, UIComponent parent) voidPassThroughAttributesHandler.apply(FaceletContext ctx, UIComponent parent) voidPhaseListenerHandler.apply(FaceletContext ctx, UIComponent parent) voidSetPropertyActionListenerHandler.apply(FaceletContext ctx, UIComponent parent) voidValueChangeListenerHandler.apply(FaceletContext ctx, UIComponent parent) See taglib documentation.voidViewHandler.apply(FaceletContext ctx, UIComponent parent) See taglib documentation.voidActionListenerHandler.applyAttachedObject(FacesContext context, UIComponent parent) abstract voidActionListenerHandlerBase.applyAttachedObject(FacesContext context, UIComponent parent) voidAjaxHandler.applyAttachedObject(FacesContext context, UIComponent parent) voidResetValuesHandler.applyAttachedObject(FacesContext context, UIComponent parent) voidSetPropertyActionListenerHandler.applyAttachedObject(FacesContext context, UIComponent parent) voidValueChangeListenerHandler.applyAttachedObject(FacesContext context, UIComponent parent) -
Uses of UIComponent in com.sun.faces.facelets.tag.faces.html
Methods in com.sun.faces.facelets.tag.faces.html that return UIComponentModifier and TypeMethodDescriptionprotected UIComponentComponentResourceDelegate.findChild(FaceletContext ctx, UIComponent parent, String tagId) Methods in com.sun.faces.facelets.tag.faces.html with parameters of type UIComponentModifier and TypeMethodDescriptionprotected voidComponentResourceDelegate.addComponentToView(FaceletContext ctx, UIComponent parent, UIComponent c, boolean componentFound) protected voidComponentResourceDelegate.doOrphanedChildCleanup(FaceletContext ctx, UIComponent parent, UIComponent c) protected UIComponentComponentResourceDelegate.findChild(FaceletContext ctx, UIComponent parent, String tagId) -
Uses of UIComponent in com.sun.faces.facelets.tag.jstl.core
Methods in com.sun.faces.facelets.tag.jstl.core with parameters of type UIComponentModifier and TypeMethodDescriptionvoidCatchHandler.apply(FaceletContext ctx, UIComponent parent) voidChooseHandler.apply(FaceletContext ctx, UIComponent parent) voidChooseOtherwiseHandler.apply(FaceletContext ctx, UIComponent parent) voidChooseWhenHandler.apply(FaceletContext ctx, UIComponent parent) voidForEachHandler.apply(FaceletContext ctx, UIComponent parent) voidIfHandler.apply(FaceletContext ctx, UIComponent parent) voidSetHandler.apply(FaceletContext ctx, UIComponent parent) protected voidSetHandler.applyNextHandler(FaceletContext ctx, UIComponent c) -
Uses of UIComponent in com.sun.faces.facelets.tag.ui
Subclasses of UIComponent in com.sun.faces.facelets.tag.uiMethods in com.sun.faces.facelets.tag.ui with parameters of type UIComponentModifier and TypeMethodDescriptionvoidCompositionHandler.apply(FaceletContext ctxObj, UIComponent parent) booleanCompositionHandler.apply(FaceletContext ctx, UIComponent parent, String name) voidDecorateHandler.apply(FaceletContext ctxObj, UIComponent parent) booleanDecorateHandler.apply(FaceletContext ctx, UIComponent parent, String name) voidDefineHandler.apply(FaceletContext ctx, UIComponent parent) voidIncludeHandler.apply(FaceletContext ctx, UIComponent parent) voidInsertHandler.apply(FaceletContext ctxObj, UIComponent parent) booleanInsertHandler.apply(FaceletContext ctx, UIComponent parent, String name) voidParamHandler.apply(FaceletContext ctx, UIComponent parent) voidSchemaCompliantRemoveHandler.apply(FaceletContext ctx, UIComponent parent) voidDefineHandler.applyDefinition(FaceletContext ctx, UIComponent parent) -
Uses of UIComponent in com.sun.faces.facelets.util
Methods in com.sun.faces.facelets.util with parameters of type UIComponentModifier and TypeMethodDescriptionstatic voidDevTools.writeComponent(Writer writer, UIComponent c) -
Uses of UIComponent in com.sun.faces.renderkit
Methods in com.sun.faces.renderkit that return UIComponentMethods in com.sun.faces.renderkit with parameters of type UIComponentModifier and TypeMethodDescriptionstatic UIFormRenderKitUtils.getForm(UIComponent component, FacesContext context) Utility method to return the client ID of the parent form.static StringRenderKitUtils.getFormClientId(UIComponent component, FacesContext context) Utility method to return the client ID of the parent form.static StringRenderKitUtils.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 ofSelectIteminstances representing the available options for this component, assembled from the set ofUISelectItemand/orUISelectItemscomponents that are direct children of this component.static voidRenderKitUtils.renderFunction(FacesContext context, UIComponent component, Collection<ClientBehaviorContext.Parameter> params, String submitTarget) static voidRenderKitUtils.renderOnchange(FacesContext context, UIComponent component, boolean incExec) static voidRenderKitUtils.renderOnclick(FacesContext context, UIComponent component, Collection<ClientBehaviorContext.Parameter> params, String submitTarget, boolean needsSubmit) static voidRenderKitUtils.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 voidRenderKitUtils.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 voidRenderKitUtils.renderSelectOnclick(FacesContext context, UIComponent component, boolean incExec) static voidRenderKitUtils.renderXHTMLStyleBooleanAttributes(ResponseWriter writer, UIComponent component) Renders the attributes fromRenderKitUtils.BOOLEAN_ATTRIBUTESusingXHMTLsemantics (i.e., disabled="disabled").static voidRenderKitUtils.renderXHTMLStyleBooleanAttributes(ResponseWriter writer, UIComponent component, List<String> excludedAttributes) Renders the attributes fromRenderKitUtils.BOOLEAN_ATTRIBUTESusingXHMTLsemantics (i.e., disabled="disabled").Constructors in com.sun.faces.renderkit with parameters of type UIComponentModifierConstructorDescriptionSelectItemsIterator(FacesContext ctx, UIComponent parent) Construct an iterator instance for the specified parent component. -
Uses of UIComponent in com.sun.faces.renderkit.html_basic
Subclasses of UIComponent in com.sun.faces.renderkit.html_basicModifier and TypeClassDescriptionstatic classUsed when a<h:selectOneRadio group>doesn't have a select item; it will then get it via first radio of the group.Methods in com.sun.faces.renderkit.html_basic that return UIComponentModifier and TypeMethodDescriptionprotected UIComponentHtmlBasicRenderer.getFacet(UIComponent component, String name) protected UIComponentHtmlBasicRenderer.getForComponent(FacesContext context, String forComponent, UIComponent component) Locates the component identified byforComponentMethods in com.sun.faces.renderkit.html_basic that return types with arguments of type UIComponentModifier and TypeMethodDescriptionprotected Iterator<UIComponent> HtmlBasicRenderer.getChildren(UIComponent component) Methods in com.sun.faces.renderkit.html_basic with parameters of type UIComponentModifier and TypeMethodDescriptionprotected StringHtmlBasicRenderer.augmentIdReference(String forValue, UIComponent fromComponent) Conditionally augment an id-reference value.protected voidBaseTableRenderer.clearMetaInfo(FacesContext context, UIComponent table) Removes the cached TableMetaInfo from the specified component.protected StringBaseTableRenderer.createKey(UIComponent table) Creates a unique key based on the providedUIComponentwith which the TableMetaInfo can be looked up.voidAjaxBehaviorRenderer.decode(FacesContext context, UIComponent component, ClientBehavior behavior) voidBodyRenderer.decode(FacesContext context, UIComponent component) voidButtonRenderer.decode(FacesContext context, UIComponent component) voidCheckboxRenderer.decode(FacesContext context, UIComponent component) voidCommandLinkRenderer.decode(FacesContext context, UIComponent component) voidCommandScriptRenderer.decode(FacesContext context, UIComponent component) voidDoctypeRenderer.decode(FacesContext context, UIComponent component) voidFileRenderer.decode(FacesContext context, UIComponent component) voidFormRenderer.decode(FacesContext context, UIComponent component) voidHeadRenderer.decode(FacesContext context, UIComponent component) voidHtmlBasicRenderer.decode(FacesContext context, UIComponent component) voidMenuRenderer.decode(FacesContext context, UIComponent component) voidOutcomeTargetRenderer.decode(FacesContext context, UIComponent component) voidOutputLinkRenderer.decode(FacesContext context, UIComponent component) voidRadioRenderer.decode(FacesContext context, UIComponent component) This override delegates todecodeGroup(FacesContext context, UISelectOne radio, Group group)when 'group' attribute is set.final voidScriptStyleBaseRenderer.decode(FacesContext context, UIComponent component) voidWebsocketRenderer.decode(FacesContext context, UIComponent component) Decode all client behaviors.protected final StringHtmlBasicRenderer.decodeBehaviors(FacesContext context, UIComponent component) voidBodyRenderer.encodeBegin(FacesContext context, UIComponent component) Encode the beginning.voidButtonRenderer.encodeBegin(FacesContext context, UIComponent component) voidCheckboxRenderer.encodeBegin(FacesContext context, UIComponent component) voidCommandLinkRenderer.encodeBegin(FacesContext context, UIComponent component) voidCommandScriptRenderer.encodeBegin(FacesContext context, UIComponent component) voidDoctypeRenderer.encodeBegin(FacesContext context, UIComponent component) voidFileRenderer.encodeBegin(FacesContext context, UIComponent component) voidFormRenderer.encodeBegin(FacesContext context, UIComponent component) voidGridRenderer.encodeBegin(FacesContext context, UIComponent component) voidGroupRenderer.encodeBegin(FacesContext context, UIComponent component) voidHeadRenderer.encodeBegin(FacesContext context, UIComponent component) voidHiddenRenderer.encodeBegin(FacesContext context, UIComponent component) voidImageRenderer.encodeBegin(FacesContext context, UIComponent component) voidLabelRenderer.encodeBegin(FacesContext context, UIComponent component) voidMenuRenderer.encodeBegin(FacesContext context, UIComponent component) voidMessageRenderer.encodeBegin(FacesContext context, UIComponent component) voidMessagesRenderer.encodeBegin(FacesContext context, UIComponent component) voidOutcomeTargetButtonRenderer.encodeBegin(FacesContext context, UIComponent component) voidOutcomeTargetLinkRenderer.encodeBegin(FacesContext context, UIComponent component) voidOutputLinkRenderer.encodeBegin(FacesContext context, UIComponent component) voidOutputMessageRenderer.encodeBegin(FacesContext context, UIComponent component) voidPassthroughRenderer.encodeBegin(FacesContext context, UIComponent component) voidScriptStyleBaseRenderer.encodeBegin(FacesContext context, UIComponent component) voidSecretRenderer.encodeBegin(FacesContext context, UIComponent component) voidTableRenderer.encodeBegin(FacesContext context, UIComponent component) voidTextareaRenderer.encodeBegin(FacesContext context, UIComponent component) voidTextRenderer.encodeBegin(FacesContext context, UIComponent component) voidBodyRenderer.encodeChildren(FacesContext context, UIComponent component) voidCommandLinkRenderer.encodeChildren(FacesContext context, UIComponent component) voidCompositeFacetRenderer.encodeChildren(FacesContext context, UIComponent component) voidCompositeRenderer.encodeChildren(FacesContext context, UIComponent component) voidDoctypeRenderer.encodeChildren(FacesContext context, UIComponent component) voidGridRenderer.encodeChildren(FacesContext context, UIComponent component) voidGroupRenderer.encodeChildren(FacesContext context, UIComponent component) voidHeadRenderer.encodeChildren(FacesContext context, UIComponent component) voidMessageRenderer.encodeChildren(FacesContext context, UIComponent component) voidOutputLinkRenderer.encodeChildren(FacesContext context, UIComponent component) voidPassthroughRenderer.encodeChildren(FacesContext context, UIComponent component) final voidScriptStyleBaseRenderer.encodeChildren(FacesContext context, UIComponent component) voidTableRenderer.encodeChildren(FacesContext context, UIComponent component) voidTextRenderer.encodeChildren(FacesContext context, UIComponent component) voidBodyRenderer.encodeEnd(FacesContext context, UIComponent component) voidButtonRenderer.encodeEnd(FacesContext context, UIComponent component) voidCommandLinkRenderer.encodeEnd(FacesContext context, UIComponent component) voidCommandScriptRenderer.encodeEnd(FacesContext context, UIComponent component) voidDoctypeRenderer.encodeEnd(FacesContext context, UIComponent component) voidFormRenderer.encodeEnd(FacesContext context, UIComponent component) voidGridRenderer.encodeEnd(FacesContext context, UIComponent component) voidGroupRenderer.encodeEnd(FacesContext context, UIComponent component) voidHeadRenderer.encodeEnd(FacesContext context, UIComponent component) voidHtmlBasicRenderer.encodeEnd(FacesContext context, UIComponent component) voidImageRenderer.encodeEnd(FacesContext context, UIComponent component) voidLabelRenderer.encodeEnd(FacesContext context, UIComponent component) voidMenuRenderer.encodeEnd(FacesContext context, UIComponent component) voidMessageRenderer.encodeEnd(FacesContext context, UIComponent component) voidMessagesRenderer.encodeEnd(FacesContext context, UIComponent component) voidOutcomeTargetButtonRenderer.encodeEnd(FacesContext context, UIComponent component) voidOutcomeTargetLinkRenderer.encodeEnd(FacesContext context, UIComponent component) voidOutputLinkRenderer.encodeEnd(FacesContext context, UIComponent component) voidOutputMessageRenderer.encodeEnd(FacesContext context, UIComponent component) voidPassthroughRenderer.encodeEnd(FacesContext context, UIComponent component) voidRadioRenderer.encodeEnd(FacesContext context, UIComponent component) This override delegates toencodeEndGroup(FacesContext context, UISelectOne radio, Group group)when 'group' attribute is set.voidScriptStyleBaseRenderer.encodeEnd(FacesContext context, UIComponent component) voidSelectManyCheckboxListRenderer.encodeEnd(FacesContext context, UIComponent component) voidTableRenderer.encodeEnd(FacesContext context, UIComponent component) voidWebsocketRenderer.encodeEnd(FacesContext context, UIComponent component) Renderfaces.push.init()function if necessary.protected voidHtmlBasicRenderer.encodeRecursive(FacesContext context, UIComponent component) Render nested child components by invoking the encode methods on those components, but only when therenderedproperty istrue.protected voidScriptRenderer.endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) protected abstract voidScriptStyleBaseRenderer.endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) Allow the subclass to customize the end external element content.protected voidStylesheetRenderer.endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) protected voidScriptRenderer.endInlineElement(ResponseWriter writer, UIComponent component) protected abstract voidScriptStyleBaseRenderer.endInlineElement(ResponseWriter writer, UIComponent component) Allow the subclass to customize the end inline element content.protected voidStylesheetRenderer.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 ObjectMenuRenderer.getCurrentSelectedValues(UIComponent component) protected StringHtmlBasicRenderer.getCurrentValue(FacesContext context, UIComponent component) protected StringOutcomeTargetRenderer.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 voidCheckboxRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) protected voidFileRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) protected voidHiddenRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) protected voidHtmlBasicRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) Renderers override this method to write appropriate HTML content into the buffer.protected voidSecretRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) protected voidTextareaRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) protected voidTextRenderer.getEndTextToRender(FacesContext context, UIComponent component, String currentValue) protected UIComponentHtmlBasicRenderer.getFacet(UIComponent component, String name) protected UIComponentHtmlBasicRenderer.getForComponent(FacesContext context, String forComponent, UIComponent component) Locates the component identified byforComponentprotected StringLabelRenderer.getForComponentClientId(UIComponent component, FacesContext context, String forValue) Builds and returns the clientId of the component that is represented by the forValue.protected StringHtmlBasicRenderer.getFormattedValue(FacesContext context, UIComponent component, Object currentValue) protected StringHtmlBasicRenderer.getFormattedValue(FacesContext context, UIComponent component, Object currentValue, Converter converter) Overloads getFormattedValue to take a advantage of a previously obtained converter.protected StringOutcomeTargetRenderer.getFragment(UIComponent component) protected StringOutputLinkRenderer.getFragment(UIComponent component) protected StringOutcomeTargetRenderer.getLabel(UIComponent component) protected IteratorHtmlBasicRenderer.getMessageIter(FacesContext context, String forComponent, UIComponent component) protected BaseTableRenderer.TableMetaInfoBaseTableRenderer.getMetaInfo(FacesContext context, UIComponent table) Returns aTableMetaInfoobject containing details such as row and column classes, columns, and a mechanism for scrolling through the row/column classes.protected StringMenuRenderer.getMultipleText(UIComponent component) protected NavigationCaseOutcomeTargetRenderer.getNavigationCase(FacesContext context, UIComponent component) Invoke theNavigationHandlerpreemptively to resolve aNavigationCasefor the outcome declared on theUIOutcomeTargetcomponent.protected static Map<String, List<ClientBehavior>> HtmlBasicInputRenderer.getNonOnChangeBehaviors(UIComponent component) protected static Map<String, List<ClientBehavior>> HtmlBasicInputRenderer.getNonOnClickSelectBehaviors(UIComponent component) protected StringOutcomeTargetButtonRenderer.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 ObjectCommandLinkRenderer.getValue(UIComponent component) protected ObjectHtmlBasicInputRenderer.getValue(UIComponent component) protected ObjectHtmlBasicRenderer.getValue(UIComponent component) protected ObjectOutcomeTargetRenderer.getValue(UIComponent component) protected ObjectOutputLinkRenderer.getValue(UIComponent component) protected static booleanMenuRenderer.isHideNoSelection(UIComponent component) protected booleanOutcomeTargetRenderer.isIncludeViewParams(UIComponent component, NavigationCase navcase) protected booleanMenuRenderer.isSelected(FacesContext context, UIComponent component, Object itemValue, Object valueArray, Converter<?> converter) protected voidCommandLinkRenderer.renderAsActive(FacesContext context, UIComponent command) protected abstract voidLinkRenderer.renderAsActive(FacesContext context, UIComponent component) protected voidOutcomeTargetLinkRenderer.renderAsActive(FacesContext context, NavigationCase navCase, UIComponent component) protected voidOutputLinkRenderer.renderAsActive(FacesContext context, UIComponent component) protected voidLinkRenderer.renderAsDisabled(FacesContext context, UIComponent component) protected voidOutcomeTargetLinkRenderer.renderAsDisabled(FacesContext context, UIComponent component, boolean failedToResolveNavigationCase) protected voidSelectManyCheckboxListRenderer.renderBeginText(UIComponent component, int border, Boolean newTableRow, FacesContext context, boolean outerElement) protected voidBaseTableRenderer.renderCaption(FacesContext context, UIComponent table, ResponseWriter writer) Renders the caption of the table applying the values ofcaptionClassas the class andcaptionStyleas the style if either are present.protected voidTableRenderer.renderColumnGroups(FacesContext context, UIComponent table) protected voidSelectManyCheckboxListRenderer.renderEndText(UIComponent component, Boolean newTableRow, FacesContext context) protected voidHtmlBasicRenderer.rendererParamsNotNull(FacesContext context, UIComponent component) protected abstract voidBaseTableRenderer.renderFooter(FacesContext context, UIComponent table, ResponseWriter writer) Called to render the opening/closingtfootelements and any content nested between.protected voidGridRenderer.renderFooter(FacesContext context, UIComponent table, ResponseWriter writer) protected voidTableRenderer.renderFooter(FacesContext context, UIComponent table, ResponseWriter writer) protected abstract voidBaseTableRenderer.renderHeader(FacesContext context, UIComponent table, ResponseWriter writer) Called to render the opening/closingtheadelements and any content nested between.protected voidGridRenderer.renderHeader(FacesContext context, UIComponent table, ResponseWriter writer) protected voidTableRenderer.renderHeader(FacesContext context, UIComponent table, ResponseWriter writer) protected voidRadioRenderer.renderInput(FacesContext context, ResponseWriter writer, UIComponent component, String clientId, Object itemValue, Converter<?> converter, boolean checked, boolean disabled, RadioRenderer.Group group) protected voidRadioRenderer.renderLabel(ResponseWriter writer, UIComponent component, String forClientId, SelectItem curItem, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected voidOutcomeTargetLinkRenderer.renderLinkCommonAttributes(ResponseWriter writer, UIComponent component) protected booleanMenuRenderer.renderOption(FacesContext context, UIComponent component, UIComponent selectComponent, Converter<?> converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected voidRadioRenderer.renderOption(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected voidSelectManyCheckboxListRenderer.renderOption(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected intMenuRenderer.renderOptions(FacesContext context, UIComponent component, SelectItemsIterator<SelectItem> items) protected voidOutcomeTargetRenderer.renderPassThruAttributes(FacesContext ctx, ResponseWriter writer, UIComponent component, Attribute[] attributes, List excludedAttributes) protected abstract voidBaseTableRenderer.renderRow(FacesContext context, UIComponent table, UIComponent row, ResponseWriter writer) Call to render the content that should be included between opening and closingtrelements.protected voidGridRenderer.renderRow(FacesContext context, UIComponent table, UIComponent child, ResponseWriter writer) protected voidTableRenderer.renderRow(FacesContext context, UIComponent table, UIComponent child, ResponseWriter writer) protected voidBaseTableRenderer.renderRowEnd(FacesContext context, UIComponent table, ResponseWriter writer) Renders the closingrtelement.protected voidBaseTableRenderer.renderRowStart(FacesContext context, UIComponent table, ResponseWriter writer) Renders the startingtrelement applying any values from therowClassesattribute.protected voidMenuRenderer.renderSelect(FacesContext context, UIComponent component) protected voidBaseTableRenderer.renderTableBodyEnd(FacesContext context, UIComponent table, ResponseWriter writer) Renders the closingtbodyelement.protected voidBaseTableRenderer.renderTableBodyStart(FacesContext context, UIComponent table, ResponseWriter writer) Renders the startingtbodyelement.protected voidBaseTableRenderer.renderTableEnd(FacesContext context, UIComponent table, ResponseWriter writer) Renders the closingtableelement.protected voidBaseTableRenderer.renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) Renders the start of a table and applies the value ofstyleClassif available and renders any pass through attributes that may be specified.voidHtmlBasicInputRenderer.setSubmittedValue(UIComponent component, Object value) protected voidHtmlBasicRenderer.setSubmittedValue(UIComponent component, Object value) Renderers override this method to store the previous value of the associated component.protected booleanHtmlBasicRenderer.shouldDecode(UIComponent component) protected booleanHtmlBasicRenderer.shouldEncode(UIComponent component) protected booleanHtmlBasicRenderer.shouldEncodeChildren(UIComponent component) protected booleanHtmlBasicRenderer.shouldWriteIdAttribute(UIComponent component) voidHtmlResponseWriter.startElement(String name, UIComponent componentForElement) Write the start of an element, up to and including the element name.protected voidScriptRenderer.startExternalElement(FacesContext context, ResponseWriter writer, UIComponent component) protected abstract voidScriptStyleBaseRenderer.startExternalElement(FacesContext context, ResponseWriter writer, UIComponent component) Allow the subclass to customize the start external element content.protected voidStylesheetRenderer.startExternalElement(FacesContext context, ResponseWriter writer, UIComponent component) protected voidScriptRenderer.startInlineElement(FacesContext context, ResponseWriter writer, UIComponent component) protected abstract voidScriptStyleBaseRenderer.startInlineElement(FacesContext context, ResponseWriter writer, UIComponent component) Allow the subclass to customize the start inline element content.protected voidStylesheetRenderer.startInlineElement(FacesContext context, ResponseWriter writer, UIComponent component) protected voidLinkRenderer.writeCommonLinkAttributes(ResponseWriter writer, UIComponent component) protected voidOutcomeTargetLinkRenderer.writeIdAndNameAttributes(FacesContext context, ResponseWriter writer, UIComponent component) protected StringHtmlBasicRenderer.writeIdAttributeIfNecessary(FacesContext context, ResponseWriter writer, UIComponent component) protected voidLinkRenderer.writeValue(UIComponent component, ResponseWriter writer) protected voidOutcomeTargetLinkRenderer.writeValue(ResponseWriter writer, UIComponent component) Constructors in com.sun.faces.renderkit.html_basic with parameters of type UIComponentModifierConstructorDescriptionOptionComponentInfo(UIComponent component) TableMetaInfo(UIComponent table) -
Uses of UIComponent in com.sun.faces.util
Methods in com.sun.faces.util with parameters of type UIComponentModifier and TypeMethodDescriptionstatic voidUtil.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 booleanUtil.componentIsDisabled(UIComponent component) static booleanUtil.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 ObjectMessageFactory.getLabel(FacesContext context, UIComponent component) Returns thelabelproperty from the specified component.static ValueExpressionUtil.getValueExpressionNullSafe(UIComponent component, String name) static booleanUtil.isNestedInIterator(FacesContext context, UIComponent component) static StringDebugUtil.printTree(UIComponent root) static voidDebugUtil.printTree(UIComponent root, PrintStream out) Output of printTree() to a PrintStream.static voidDebugUtil.printTree(UIComponent root, Writer out) static voidDebugUtil.printTree(UIComponent root, Logger logger, Level level) static voidDebugUtil.simplePrintTree(UIComponent root, String duplicateId, Writer out) -
Uses of UIComponent in jakarta.faces.application
Methods in jakarta.faces.application that return UIComponentModifier 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 theRendererfor 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 theRendererfor 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 UIComponentApplication.createComponent(String componentType) Instantiate and return a newUIComponentinstance 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 wrappedApplicationobject.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 wrappedApplicationobject.ApplicationWrapper.createComponent(FacesContext context, Resource componentResource) The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, Resource)on the wrappedApplicationobject.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 wrappedApplicationobject.ApplicationWrapper.createComponent(String componentType) The default behavior of this method is to callApplication.createComponent(String)on the wrappedApplicationobject. -
Uses of UIComponent in jakarta.faces.component
Subclasses of UIComponent in jakarta.faces.componentModifier and TypeClassDescriptionclassUIColumn is aUIComponentthat represents a single column of data within a parentUIDatacomponent.classUICommand is aUIComponentthat represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".classUIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined byUIComponent.classUIData is aUIComponentthat supports data binding to a collection of data objects represented by aDataModelinstance, which is the current value of this component itself (typically established via aValueExpression).classUIForm is aUIComponentthat 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.classUIGraphic is aUIComponentthat displays a graphical image to the user.classclassUIInput is aUIComponentthat represents a component that both displays output to the user (likeUIOutputcomponents do) and processes request parameters on the subsequent request that need to be decoded.classThis component is responsible for displaying messages for a specificUIComponent, identified by aclientIdor component id relative to the closest ancestorNamingContainer.classThe renderer for this component is responsible for obtaining the messages from theFacesContextand displaying them to the user.classUINamingContainer is a convenience base class for components that wish to implementNamingContainerfunctionality.classThis component is paired with thejakarta.faces.Buttonorjakarta.faces.Linkrenderers and encapsulates properties relating to the rendering of outcomes directly to the response.classUIOutput is aUIComponentthat has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.classUIPanel is aUIComponentthat manages the layout of its child components.classUIParameter is aUIComponentthat represents an optionally named configuration parameter for a parent component.classclassUISelectItem is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of aSelectIteminstance to the list of available options for the parent component.classUISelectItemGroup is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of oneSelectItemGroupof one or moreSelectIteminstances to the list of available options in the parent component.classUISelectItemGroups is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of one or moreSelectItemGroupof one or moreSelectIteminstances to the list of available options in the parent component.classUISelectItems is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of one or moreSelectIteminstances to the list of available options in the parent component.classUISelectMany is aUIComponentthat represents the user's choice of a zero or more items from among a discrete set of available options.classUISelectOne is aUIComponentthat represents the user's choice of zero or one items from among a discrete set of available options.classUIViewAction represents a method invocation that occurs during the request processing lifecycle, usually in response to an initial request, as opposed to a postback.classUIViewParameter represents a binding between a request parameter and a model property orUIViewRootproperty.classUIViewRoot is the UIComponent that represents the root of the UIComponent tree.classThe<f:websocket>tag opens an one-way (server to client) websocket based push connection in client side which can be reached from server side viaPushContextinterface injected in any CDI/container managed artifact via@Pushannotation.Methods in jakarta.faces.component that return UIComponentModifier and TypeMethodDescriptionabstract UIComponentUIComponent.findComponent(String expr) Search for and return theUIComponentwith anidthat matches the specified search expression (if any), according to the algorithm described below.UIComponentBase.findComponent(String expression) static UIComponentUIComponent.getCompositeComponentParent(UIComponent component) Finds the nearest composite component parent of the specified component.static UIComponentUIComponent.getCurrentComponent(FacesContext context) Return theUIComponentinstance that is currently processing.static UIComponentUIComponent.getCurrentCompositeComponent(FacesContext context) Return the closest ancestor component, relative to the component returned fromgetCurrentComponent(jakarta.faces.context.FacesContext), that is a composite component, ornullif no such component exists.abstract UIComponentConvenience method to return the named facet, if it exists, ornullotherwise.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 aNamingContainerornullif none can be found.abstract UIComponentUIComponent.getParent()Return the parentUIComponentof thisUIComponent, if any.UIComponentBase.getParent()Methods in jakarta.faces.component that return types with arguments of type UIComponentModifier and TypeMethodDescriptionabstract List<UIComponent> UIComponent.getChildren()UIComponentBase.getChildren()UIViewRoot.getComponentResources(FacesContext context) Return an unmodifiable orderedListof allUIComponentresources of all supported targets.UIViewRoot.getComponentResources(FacesContext context, String target) abstract Map<String, UIComponent> UIComponent.getFacets()Return a mutableMaprepresenting the facetUIComponents associated with thisUIComponent, keyed by facet name (which must be a String).UIComponentBase.getFacets()abstract Iterator<UIComponent> UIComponent.getFacetsAndChildren()UIComponentBase.getFacetsAndChildren()Methods in jakarta.faces.component with parameters of type UIComponentModifier and TypeMethodDescriptionvoidUIViewRoot.addComponentResource(FacesContext context, UIComponent componentResource) Add argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.voidUIViewRoot.addComponentResource(FacesContext context, UIComponent componentResource, String target) Add argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.static UIComponentUIComponent.getCompositeComponentParent(UIComponent component) Finds the nearest composite component parent of the specified component.voidContextCallback.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 theclientIdgiven as an argument toinvokeOnComponent.static booleanUIComponent.isCompositeComponent(UIComponent component) Returntrueifcomponentis a composite component, otherwisefalse.voidUIComponent.pushComponentToEL(FacesContext context, UIComponent component) Push the currentUIComponentthisto theFacesContextattribute map saving the previousUIComponentfor a subsequent call topopComponentFromEL(jakarta.faces.context.FacesContext).voidUIViewRoot.removeComponentResource(FacesContext context, UIComponent componentResource) Remove argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.voidUIViewRoot.removeComponentResource(FacesContext context, UIComponent componentResource, String target) Remove argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.voidUIColumn.setFooter(UIComponent footer) Set the footer facet of the column.voidUIData.setFooter(UIComponent footer) Set the footer facet of this component.voidUIColumn.setHeader(UIComponent header) Set the header facet of the column.voidUIData.setHeader(UIComponent header) Set the header facet of this component.abstract voidUIComponent.setParent(UIComponent parent) Set the parentUIComponentof thisUIComponent.voidUIComponentBase.setParent(UIComponent parent) -
Uses of UIComponent in jakarta.faces.component.behavior
Methods in jakarta.faces.component.behavior that return UIComponentModifier and TypeMethodDescriptionabstract UIComponentClientBehaviorContext.getComponent()Returns theUIComponentthat is requesting theClientBehaviorscript.Methods in jakarta.faces.component.behavior with parameters of type UIComponentModifier and TypeMethodDescriptionstatic ClientBehaviorContextClientBehaviorContext.createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters) Creates a ClientBehaviorContext instance.voidClientBehavior.decode(FacesContext context, UIComponent component) Decode any new state of thisClientBehaviorfrom the request contained in the specifiedFacesContext.voidClientBehaviorBase.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
Subclasses of UIComponent in jakarta.faces.component.htmlModifier and TypeClassDescriptionclassNONEclassRepresents a column that will be rendered in an HTMLtableelement.classRepresents an HTMLinputelement for a button of typesubmitorreset.classRepresents an HTMLaelement for a hyperlink that acts like a submit button.classRepresents an HTMLscriptelement for a function that acts like an ajax form submit.classRepresents a set of repeating data (segregated into columns by child UIColumn components) that will be rendered in an HTMLtableelement.classNONEclassRepresents an HTMLformelement.classRepresents an HTMLimgelement, used to retrieve and render a graphical image.classNONEclassRepresents an HTMLinputelement of typefile.classRepresents an HTMLinputelement of typehidden.classRepresents an HTMLinputelement of typepassword.classRepresents an HTMLinputelement of typetext.classRepresents an HTMLtextareaelement.classBy default, therendererTypeproperty must be set to "jakarta.faces.Message".classBy default, therendererTypeproperty must be set to "jakarta.faces.Messages".classRepresents an HTMLinputelement 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 theoutcomeproperty.classRepresents 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 theoutcomeproperty.classRepresents a component that looks up a localized message in a resource bundle, optionally uses it as aMessageFormatpattern string and substitutes in parameter values from nested UIParameter components, and renders the result.classRepresents an HTMLlabelelement, used to define an accessible label for a corresponding input element.classRepresents an HTMLa(hyperlink) element that may be used to link to an arbitrary URL defined by thevalueproperty.classRenders the component value as text, optionally wrapping in aspanelement if I18N attributes, CSS styles or style classes are specified.classRenders child components in a table, starting a new row after the specified number of columns.classCauses all child components of this component to be rendered.classRepresents an HTMLinputelement of typecheckbox.classRepresents a multiple-selection component that is rendered as a set of HTMLinputelements of typecheckbox.classRepresents a multiple-selection component that is rendered as an HTMLselectelement, showing either all available options or the specified number of options.classRepresents a multiple-selection component that is rendered as an HTMLselectelement, showing a single available option at a time.classRepresents a single-selection component that is rendered as an HTMLselectelement, showing either all available options or the specified number of options.classRepresents a single-selection component that is rendered as an HTMLselectelement, showing a single available option at a time.classRepresents a single-selection component that is rendered as a set of HTMLinputelements of typeradio. -
Uses of UIComponent in jakarta.faces.component.search
Methods in jakarta.faces.component.search that return UIComponentModifier and TypeMethodDescriptionabstract UIComponentSearchExpressionContext.getSource()Returns the source / base component from which we will start to perform our search.Methods in jakarta.faces.component.search with parameters of type UIComponentModifier and TypeMethodDescriptionstatic SearchExpressionContextSearchExpressionContext.createSearchExpressionContext(FacesContext context, UIComponent source) Creates aSearchExpressionContextinstance for use with theSearchExpressionHandler.static SearchExpressionContextSearchExpressionContext.createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints) Creates aSearchExpressionContextinstance for use with theSearchExpressionHandler.abstract SearchExpressionContextSearchExpressionContextFactory.getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints) Creates aSearchExpressionContextinstance for use with theSearchExpressionHandler.voidSearchKeywordContext.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 voidSearchExpressionHandler.invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback) Resolves multipleUIComponents for the given expression.voidSearchExpressionHandlerWrapper.invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback) abstract voidSearchKeywordResolver.resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) Try to resolve one or multipleUIComponents based on the keyword and callsSearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent)for each resolved component. -
Uses of UIComponent in jakarta.faces.component.visit
Methods in jakarta.faces.component.visit with parameters of type UIComponentModifier and TypeMethodDescriptionabstract Collection<String> VisitContext.getSubtreeIdsToVisit(UIComponent component) Given aNamingContainercomponent, returns the client ids of any components underneath the NamingContainer that should be visited.VisitContextWrapper.getSubtreeIdsToVisit(UIComponent component) abstract VisitResultVisitContext.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
Methods in jakarta.faces.context with parameters of type UIComponentModifier and TypeMethodDescriptionabstract voidResponseWriter.startElement(String name, UIComponent component) Write the start of an element, up to and including the element name.voidResponseWriterWrapper.startElement(String name, UIComponent component) The default behavior of this method is to callResponseWriter.startElement(String, jakarta.faces.component.UIComponent)on the wrappedResponseWriterobject.voidResponseWriter.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.voidResponseWriterWrapper.writeText(Object text, UIComponent component, String property) The default behavior of this method is to callResponseWriter.writeText(Object, UIComponent, String)on the wrappedResponseWriterobject. -
Uses of UIComponent in jakarta.faces.convert
Methods in jakarta.faces.convert with parameters of type UIComponentModifier 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 thevalueargument 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 thevalueargument 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
Methods in jakarta.faces.event that return UIComponentModifier and TypeMethodDescriptionComponentSystemEvent.getComponent()the sourceUIComponentthat sent this event.ExceptionQueuedEventContext.getComponent()Return theUIComponentwhich was being processed when the exception was thrown.FacesEvent.getComponent()Return the sourceUIComponentthat sent this event.Methods in jakarta.faces.event with parameters of type UIComponentModifier and TypeMethodDescriptionvoidPostRestoreStateEvent.setComponent(UIComponent newComponent) Constructors in jakarta.faces.event with parameters of type UIComponentModifierConstructorDescriptionActionEvent(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 argumentcomponentto the superclass constructor.ComponentSystemEvent(FacesContext facesContext, UIComponent component) Pass the argumentcomponentto the superclass constructor.ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component) Instantiate a newExceptionQueuedEventContextthat indicates the argumentThrowablejust occurred, relevant to the argumentcomponent.ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId) Instantiate a newExceptionQueuedEventContextthat indicates the argumentThrowablejust 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 newPostAddToViewEventthat indicates the argumentcomponentwas just added to the view.PostAddToViewEvent(FacesContext facesContext, UIComponent component) Instantiate a newPostAddToViewEventthat indicates the argumentcomponentwas just added to the view.PostRestoreStateEvent(UIComponent component) Instantiate a newPostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.PostRestoreStateEvent(FacesContext facesContext, UIComponent component) Instantiate a newPostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.PostValidateEvent(UIComponent component) ConstructorPostValidateEvent(FacesContext facesContext, UIComponent component) ConstructorPreRemoveFromViewEvent(UIComponent component) Instantiate a newBeforeRemoveFromViewthat indicates the argumentcomponentis about to be removed from the view.PreRemoveFromViewEvent(FacesContext facesContext, UIComponent component) Instantiate a newBeforeRemoveFromViewthat indicates the argumentcomponentis about to be removed from the view.PreRenderComponentEvent(UIComponent component) Instantiate a newPreRenderComponentEventthat indicates the argumentcomponentis about to be rendered.PreRenderComponentEvent(FacesContext facesContext, UIComponent component) Instantiate a newPreRenderComponentEventthat indicates the argumentcomponentis 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
Classes in jakarta.faces.render with type parameters of type UIComponentModifier and TypeClassDescriptionclassRenderer<T extends UIComponent>A Renderer converts the internal representation ofUIComponents into the output stream (or writer) associated with the response we are creating for a particular request.Methods in jakarta.faces.render with parameters of type UIComponentModifier and TypeMethodDescriptionvoidClientBehaviorRenderer.decode(FacesContext context, UIComponent component, ClientBehavior behavior) Decode any new state of thisClientBehaviorfrom the request contained in the specifiedFacesContext.voidRendererWrapper.decode(FacesContext context, UIComponent component) voidRendererWrapper.encodeBegin(FacesContext context, UIComponent component) voidRendererWrapper.encodeChildren(FacesContext context, UIComponent component) voidRendererWrapper.encodeEnd(FacesContext context, UIComponent component) RendererWrapper.getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) -
Uses of UIComponent in jakarta.faces.validator
Methods in jakarta.faces.validator with parameters of type UIComponentModifier and TypeMethodDescriptionvoidBeanValidator.validate(FacesContext context, UIComponent component, Object value) Verify that the value is valid according to the Bean Validation constraints.voidDoubleRangeValidator.validate(FacesContext context, UIComponent component, Object value) voidLengthValidator.validate(FacesContext context, UIComponent component, Object value) voidLongRangeValidator.validate(FacesContext context, UIComponent component, Object value) voidMethodExpressionValidator.validate(FacesContext context, UIComponent component, Object value) voidRegexValidator.validate(FacesContext context, UIComponent component, Object value) Validate a String against a regular expression pattern.voidRequiredValidator.validate(FacesContext context, UIComponent component, Object value) Verify that the converted object value is not null.voidValidator.validate(FacesContext context, UIComponent component, T value) -
Uses of UIComponent in jakarta.faces.view
Methods in jakarta.faces.view that return UIComponentModifier and TypeMethodDescriptionViewDeclarationLanguage.createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) Create a component given aViewDeclarationLanguagespecific tag library URI and tag name.ViewDeclarationLanguageWrapper.createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) Methods in jakarta.faces.view that return types with arguments of type UIComponentModifier and TypeMethodDescriptionAttachedObjectTarget.getTargets(UIComponent topLevelComponent) Returns theList<UIComponent>that thisAttachedObjectTargetexposes.Methods in jakarta.faces.view with parameters of type UIComponentModifier and TypeMethodDescriptionvoidAttachedObjectHandler.applyAttachedObject(FacesContext context, UIComponent parent) Take the argumentparentand apply this attached object to it.AttachedObjectTarget.getTargets(UIComponent topLevelComponent) Returns theList<UIComponent>that thisAttachedObjectTargetexposes.voidViewDeclarationLanguage.retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) Assuming the component metadata for argumenttopLevelComponenthas 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 individualAttachedObjectTargetinstances inside the composite component.voidViewDeclarationLanguageWrapper.retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) voidViewDeclarationLanguage.retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent) Assuming the component metadata for argumenttopLevelComponenthas 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.voidViewDeclarationLanguageWrapper.retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent) -
Uses of UIComponent in jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets that return UIComponentModifier and TypeMethodDescriptionComponentHandler.createComponent(FaceletContext ctx) Subclasses that wish to take over the task of instantiating theUIComponentinstance corresponding to this tag handler my override this method to do so.Methods in jakarta.faces.view.facelets with parameters of type UIComponentModifier and TypeMethodDescriptionvoidCompositeFaceletHandler.apply(FaceletContext ctx, UIComponent parent) Calls apply on any child handlers.voidDelegatingMetaTagHandler.apply(FaceletContext ctx, UIComponent parent) The default implementation simply calls through toTagHandlerDelegate.apply(jakarta.faces.view.facelets.FaceletContext, jakarta.faces.component.UIComponent).abstract voidFacelet.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.voidFaceletHandler.apply(FaceletContext ctx, UIComponent parent) Process changes on a particular UIComponentabstract voidTagHandlerDelegate.apply(FaceletContext ctx, UIComponent comp) final voidFaceletsAttachedObjectHandler.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.voidFacelet.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:metadatatag.voidDelegatingMetaTagHandler.applyNextHandler(FaceletContext ctx, UIComponent c) Invoke theapply()method on this instance'sTagHandler.nextHandler.abstract voidFaceletContext.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 voidFaceletContext.includeFacelet(UIComponent parent, URL absolutePath) Include another Facelet defined at some path, absolute to this ClassLoader/OSstatic booleanComponentHandler.isNew(UIComponent component) Determine if the passed component is not null and if it's new to the tree.voidComponentHandler.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.voidComponentHandler.onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent) This method is guaranteed to be called after the component has been populated with children.