| java.lang.Object com.methodhead.shim.Template
Template | public class Template implements SiteContextCapable(Code) | | A class to access and profile Shim templates. Template configuration
information is embedded in templates themselves, and this class helps access
that information.
|
panelConfigs_ | protected Map panelConfigs_(Code) | | |
getFileName | public String getFileName()(Code) | | Returns the name of the template. This is only set when {#load} is called.
|
getPanelConfigs | public Map getPanelConfigs()(Code) | | Returns the panel configs of the template. This is only set when {#load}
is called.
|
getSiteContext | public SiteContext getSiteContext()(Code) | | Returns the current site context for this object, getting the default
context if it has not been set.
|
getTemplateList | public List getTemplateList(HttpServletRequest request)(Code) | | Returns a list of available templates sorted in alphabetic,
case-insensitive order. Templates are JSP files located in
WEB-INF/resources/sitecontext_id/templates.
|
load | public void load(HttpServletRequest request, String template)(Code) | | Loads template information from template. template
should be a simple file name. The template's actual location is
calculated using the resource root and site context. An exception is
thrown if the resource root hasn't been set.
|
setSiteContext | public void setSiteContext(SiteContext siteContext)(Code) | | Implements SiteContextCapable.setSiteContext().
|
|
|