public enum ELExpressionCacheMode extends Enum<ELExpressionCacheMode>
| Enum Constant and Description | 
|---|
| allowCsetDoes not cache expressions on these cases:
 - ui:param was used on the current template context
 - Inside user tags
 - An expression uses a variable resolved through VariableMapper
 
 In this case, c:set is assumed to be always on the parent node. | 
| alwaysDoes not cache expressions on these cases:
 - Inside user tags
 - An expression uses a variable resolved through VariableMapper
 
 Note if ui:param is used, each template call should define the same
 param count, even if only just a few are used. | 
| alwaysRecompileDoes not cache expressions on these cases:
 - An expression uses a variable resolved through VariableMapper
 
 It uses an alternate FaceletCache that implements AbstractFaceletCache
 contract and force recompile the facelet in case additional ui:param
 instances are detected. | 
| noCacheDoes not cache expressions. | 
| strictDoes not cache expressions on these cases:
 - A c:set tag with only var and value properties was used on the current page. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ELExpressionCacheMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ELExpressionCacheMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ELExpressionCacheMode noCache
public static final ELExpressionCacheMode strict
public static final ELExpressionCacheMode allowCset
public static final ELExpressionCacheMode always
public static final ELExpressionCacheMode alwaysRecompile
public static ELExpressionCacheMode[] values()
for (ELExpressionCacheMode c : ELExpressionCacheMode.values()) System.out.println(c);
public static ELExpressionCacheMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 The Apache Software Foundation. All rights reserved.