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);
}
}
}
Aggregations