Search in sources :

Example 1 with TemplateLoaderTag

use of org.webpieces.templating.impl.tags.TemplateLoaderTag in project webpieces by deanhiller.

the class HtmlTagLookup method initialize.

/**
 * A nasty circular dependency so we initialize it on the firstTemplate loaded in the application
 *
 * @param templateService
 */
public void initialize(TemplateService templateService) {
    for (HtmlTag tag : tags.values()) {
        if (tag instanceof TemplateLoaderTag) {
            TemplateLoaderTag fileTag = (TemplateLoaderTag) tag;
            fileTag.initialize(templateService);
        }
    }
}
Also used : TemplateLoaderTag(org.webpieces.templating.impl.tags.TemplateLoaderTag)

Aggregations

TemplateLoaderTag (org.webpieces.templating.impl.tags.TemplateLoaderTag)1