public class ComponentTemplateLoaderImpl extends java.lang.Object implements ComponentTemplateLoader
tapestry.page.ComponentTemplateLoader
, which will process the
component's template
, which involves working
through the nested structure of the template and hooking the various static template blocks and
components together using IComponent.addBody(IRender)
and
ITemplateComponent.addOuter(IRender)
.
Because this service must be reentrant, it acts as a factory for a
ComponentTemplateLoaderLogic
that is created (and
discarded) for each component whose template is loaded.
Constructor and Description |
---|
ComponentTemplateLoaderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
loadTemplate(IRequestCycle requestCycle,
ITemplateComponent loadComponent) |
void |
setBindingSource(BindingSource bindingSource) |
void |
setLog(org.apache.commons.logging.Log log) |
void |
setPageLoader(IPageLoader pageLoader) |
void |
setTemplateSource(TemplateSource templateSource) |
public ComponentTemplateLoaderImpl()
public void loadTemplate(IRequestCycle requestCycle, ITemplateComponent loadComponent)
loadTemplate
in interface ComponentTemplateLoader
public void setPageLoader(IPageLoader pageLoader)
public void setLog(org.apache.commons.logging.Log log)
public void setTemplateSource(TemplateSource templateSource)
public void setBindingSource(BindingSource bindingSource)