Class ConcatResourceBundleReference<T extends HeaderItem & IReferenceHeaderItem>

java.lang.Object
org.apache.wicket.request.resource.ResourceReference
org.apache.wicket.resource.bundles.ConcatResourceBundleReference<T>
Type Parameters:
T - The type of the header items to bundle
All Implemented Interfaces:
Serializable, IResourceBundle, IClusterable

A resource bundle that automatically concatenates the given resources. These resources should all be of the same type (javascript or css) and all have IStaticCacheableResource (or subclasses). After creating the bundle, you normally have to register it in the ResourceBundles under Application.getResourceBundles(). ResourceBundles has two utility methods to create instances of this class: addJavaScriptBundle and addCssBundle. Dependencies are inherited from the provided resources, if the bundle does not provide all dependencies itself.
Author:
papegaaij
See Also: