// The intention of this code is just create an instance and pass to
// CompositeComponentResourceTagHandler. Then, its values
// (resourceName, libraryName) will be used to derive the real instance
// to use in a view, based on the locale used.
Resource compositeComponentResourceWrapped
= resourceHandler.createResource(resourceName, libraryName);
if (compositeComponentResourceWrapped != null)
{
Resource compositeComponentResource
= new CompositeResouceWrapper(compositeComponentResourceWrapped);
ComponentConfig componentConfig = new ComponentConfigWrapper(tag,