Uses of Class
jakarta.faces.view.facelets.FaceletContext
Package
Description
-
Uses of FaceletContext in com.sun.faces.component.validator
-
Uses of FaceletContext 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. -
Uses of FaceletContext in com.sun.faces.facelets.compiler
Modifier and TypeMethodDescriptionvoid
AbstractUIHandler.addComponent
(FaceletContext ctx, UIComponent parent, UIComponent c) void
EncodingHandler.apply
(FaceletContext ctx, UIComponent parent) static CompilationMessageHolder
EncodingHandler.getCompilationMessageHolder
(FaceletContext ctx) -
Uses of FaceletContext in com.sun.faces.facelets.tag
Modifier and TypeMethodDescriptionboolean
TagAttributeImpl.getBoolean
(FaceletContext ctx) If literal,returnBoolean.valueOf(java.lang.String)
passing our value, otherwise callgetObject(FaceletContext, Class)
.int
TagAttributeImpl.getInt
(FaceletContext ctx) If literal, callInteger.parseInt(String)
, otherwise callgetObject(FaceletContext, Class)
.TagAttributeImpl.getMethodExpression
(FaceletContext ctx, Class type, Class[] paramTypes) Create a MethodExpression, using this attribute's value as the expression String.TagAttributeImpl.getObject
(FaceletContext ctx) Delegates to getObject with Object.class as a paramTagAttributeImpl.getObject
(FaceletContext ctx, Class type) If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.TagAttributeImpl.getValue
(FaceletContext ctx) If literal, then return our value, otherwise delegate to getObject, passing String.class.TagAttributeImpl.getValueExpression
(FaceletContext ctx, Class type) Create a ValueExpression, using this attribute's literal value and the passed expected type.TagAttributeImpl.getValueExpression
(FaceletContext ctx, String expr, Class type) -
Uses of FaceletContext in com.sun.faces.facelets.tag.composite
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
RenderFacetHandler.onComponentPopulated
(FaceletContext ctx, UIComponent c, UIComponent parent) -
Uses of FaceletContext in com.sun.faces.facelets.tag.faces
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) 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
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) CompositeComponentTagHandler.createComponent
(FaceletContext ctx) PassThroughElementComponentHandler.createComponent
(FaceletContext ctx) protected ComponentValidators.ValidatorInfo
ValidatorTagHandlerDelegateImpl.createValidatorInfo
(FaceletContext ctx) 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) protected UIComponent
ComponentTagHandlerDelegateImpl.findChild
(FaceletContext ctx, UIComponent parent, String tagId) protected UIComponent
ComponentTagHandlerDelegateImpl.findReparentedComponent
(FaceletContext ctx, UIComponent parent, String tagId) static Locale
ComponentSupport.getLocale
(FaceletContext ctx, TagAttribute attr) According to Faces 1.2 tag specs, this helper method will use the TagAttribute passed in determining the Locale intended.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.protected boolean
ComponentTagHandlerDelegateImpl.isIterating
(FaceletContext context) 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 boolean
IterationIdManager.registerLiteralId
(FaceletContext ctx, String id) Registers a literal Id with this manager and determines whether the same Id has been seen beforevoid
CompositeComponentTagHandler.setAttributes
(FaceletContext ctx, Object instance) Specialized implementation to prevent caching of the MetaRuleset when ProjectStage is Development.static void
IterationIdManager.startIteration
(FaceletContext ctx) static void
IterationIdManager.startNamingContainer
(FaceletContext ctx) static void
IterationIdManager.stopIteration
(FaceletContext ctx) static void
IterationIdManager.stopNamingContainer
(FaceletContext ctx) -
Uses of FaceletContext 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.protected Converter
ConvertDateTimeHandler.createConverter
(FaceletContext ctx) Returns a new DateTimeConverterprotected Converter
ConvertDelegateHandler.createConverter
(FaceletContext ctx) Uses the specified "converterId" to pull an instance from the Applicationprotected Converter
ConvertNumberHandler.createConverter
(FaceletContext ctx) Returns a new NumberConverterAttributeHandler.getAttributeName
(FaceletContext ctxt) AttributesHandler.getAttributeName
(FaceletContext ctxt) PassThroughAttributeHandler.getAttributeName
(FaceletContext ctxt) PassThroughAttributesHandler.getAttributeName
(FaceletContext ctxt) protected Class
<? extends SystemEvent> EventHandler.getEventClass
(FaceletContext ctx) FacetHandler.getFacetName
(FaceletContext ctxt) protected String
ValidateDelegateHandler.getValidator
(FaceletContext ctx) Resolve the validator id from the attribute "validatorId", which is then used to create a new Validator instance from the Application.void
ConvertDateTimeHandler.setAttributes
(FaceletContext ctx, Object obj) Implements tag spec, see taglib documentation.void
ConvertNumberHandler.setAttributes
(FaceletContext ctx, Object obj) -
Uses of FaceletContext in com.sun.faces.facelets.tag.faces.html
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) protected abstract String
ComponentResourceDelegate.getLocationTarget
(FaceletContext ctx) protected String
ScriptResourceDelegate.getLocationTarget
(FaceletContext ctx) protected String
StylesheetResourceDelegate.getLocationTarget
(FaceletContext ctx) -
Uses of FaceletContext 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) boolean
ChooseWhenHandler.isTestTrue
(FaceletContext ctx) -
Uses of FaceletContext 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 FaceletContext in jakarta.faces.view.facelets
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)
.void
FaceletHandler.apply
(FaceletContext ctx, UIComponent parent) Process changes on a particular UIComponentabstract void
TagHandlerDelegate.apply
(FaceletContext ctx, UIComponent comp) abstract void
Metadata.applyMetadata
(FaceletContext ctx, Object instance) Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.void
DelegatingMetaTagHandler.applyNextHandler
(FaceletContext ctx, UIComponent c) Invoke theapply()
method on this instance'sTagHandler.nextHandler
.ComponentHandler.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.AttributeHandler.getAttributeName
(FaceletContext ctx) Returns the resolved literal String value of the attribute name after evaluating EL.abstract boolean
TagAttribute.getBoolean
(FaceletContext ctx) If literal,returnBoolean.valueOf(java.lang.String)
passing our value, otherwise callgetObject(FaceletContext, Class)
.ConverterHandler.getConverterId
(FaceletContext ctx) Returns the converter Id.FacetHandler.getFacetName
(FaceletContext ctx) Returns the resolved literal String value of the facet name after evaluating EL.abstract int
TagAttribute.getInt
(FaceletContext ctx) If literal, callInteger.parseInt(String)
, otherwise callgetObject(FaceletContext, Class)
.abstract MethodExpression
TagAttribute.getMethodExpression
(FaceletContext ctx, Class type, Class[] paramTypes) Create a MethodExpression, using this attribute's value as the expression String.abstract Object
TagAttribute.getObject
(FaceletContext ctx) Delegates to getObject with Object.class as a paramabstract Object
TagAttribute.getObject
(FaceletContext ctx, Class type) If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.TextHandler.getText
(FaceletContext ctx) Returns the resolved literal String value of the contained text after evaluating EL.ValidatorHandler.getValidatorId
(FaceletContext ctx) Retrieve the id of the validator that is to be created and added to the parentEditableValueHolder
.abstract String
TagAttribute.getValue
(FaceletContext ctx) If literal, then return our value, otherwise delegate to getObject, passing String.class.abstract ValueExpression
TagAttribute.getValueExpression
(FaceletContext ctx, Class type) Create a ValueExpression, using this attribute's literal value and the passed expected type.boolean
DelegatingMetaTagHandler.isDisabled
(FaceletContext ctx) Returns the value of the "disabled" attribute.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.void
DelegatingMetaTagHandler.setAttributes
(FaceletContext ctx, Object instance) protected void
MetaTagHandler.setAttributes
(FaceletContext ctx, Object instance) Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.