Description
Adds an object to the context which is available from your templates with various methods for operating on collections of data.
Availabilty
Available as of blojsom 2.30.
Installation and Setup
In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:
<bean id="collection-utilities" class="org.blojsom.plugin.common.CollectionUtilitiesPlugin" init-method="init"
destroy-method="destroy"/>
You may then add "collection-utilities" to one of the flavor-based plugin chains.
Context Attributes and Types
The following table describes the context attributes that are available and their associated type.
| Context key |
Input or Output |
Type |
Description |
| BLOJSOM_PLUGIN_COLLECTION_UTILITIES |
Input |
org.blojsom.plugin.common.CollectionUtilities |
Various methods on this object exist to operate on collections of data. |