Uses of Class
jakarta.faces.view.facelets.FaceletContext
Packages that use FaceletContext
-
Uses of FaceletContext in jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets with parameters of type FaceletContextModifier 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).voidFaceletHandler.apply(FaceletContext ctx, UIComponent parent) Process changes on a particular UIComponentabstract voidTagHandlerDelegate.apply(FaceletContext ctx, UIComponent comp) abstract voidMetadata.applyMetadata(FaceletContext ctx, Object instance) Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.voidDelegatingMetaTagHandler.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 theUIComponentinstance 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 booleanTagAttribute.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 intTagAttribute.getInt(FaceletContext ctx) If literal, callInteger.parseInt(String), otherwise callgetObject(FaceletContext, Class).abstract MethodExpressionTagAttribute.getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes) Create a MethodExpression, using this attribute's value as the expression String.abstract ObjectTagAttribute.getObject(FaceletContext ctx) Delegates to getObject with Object.class as a paramabstract ObjectTagAttribute.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 StringTagAttribute.getValue(FaceletContext ctx) If literal, then return our value, otherwise delegate to getObject, passing String.class.abstract ValueExpressionTagAttribute.getValueExpression(FaceletContext ctx, Class type) Create a ValueExpression, using this attribute's literal value and the passed expected type.booleanDelegatingMetaTagHandler.isDisabled(FaceletContext ctx) Returns the value of the "disabled" attribute.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.voidDelegatingMetaTagHandler.setAttributes(FaceletContext ctx, Object instance) protected voidMetaTagHandler.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.