- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- org.omnifaces.component.output.cache.el.CacheValue
-
- All Implemented Interfaces:
FaceletHandler
public class CacheValue extends TagHandler
CacheValue is a replacement forui:param
andc:set
that only evaluates a value expression once and thereafter resolves it from the cache.A
CacheValue
piggybacks onto a parentCache
component for the control of caching scope and other parameters.- Author:
- Arjan Tijms
-
-
Field Summary
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description CacheValue(TagConfig config)
Construct the tag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
CacheValue
public CacheValue(TagConfig config)
Construct the tag.- Parameters:
config
- The tag config.
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
- Throws:
IOException
-
-