Interface ELVariableProvider
-
@ConsumerType public interface ELVariableProviderSPI for providing a custom EL variable within a Granite UI component. EL variables of all OSGi services implementing this interface are automatically available below containers of type/apps/acs-commons/touchui-widgets/enriched-el-container.ExpressionCustomizer- See Also:
- Granite Expression Language
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>getVariables(org.apache.sling.api.SlingHttpServletRequest request)
-
-
-
Method Detail
-
getVariables
@Nonnull Map<String,Object> getVariables(org.apache.sling.api.SlingHttpServletRequest request)
- Returns:
- the name and value of the custom EL variable (usable in in Granite Expression Language).
The key of the map is the variable name (should be unique), the value is the variable value (might be complex object or primitive wrapper).
The name must not contain
.Must never benull, but can be the empty map if no variable is provided.
-
-