public class TemplatePageLocator extends PageLocator
TemplatePage
derivedPathPrefix, relativeClassPathToWicketPage
Constructor and Description |
---|
TemplatePageLocator() |
TemplatePageLocator(String relativeClassPathToWicketPage,
String derivedPathPrefix) |
Modifier and Type | Method and Description |
---|---|
TemplateService |
getTemplateService() |
protected org.apache.wicket.util.resource.IResourceStream |
locateMarkupPath(Class<?> clazz,
javax.servlet.ServletContext sc,
String requestedPagePath)
Locate the Markup for the component
|
void |
setTemplateService(TemplateService templateService) |
getDerivedPathPrefix, getRelativeClassPathToWicketPage, locate, optimizeOnLocale
protected org.apache.wicket.util.resource.IResourceStream locateMarkupPath(Class<?> clazz, javax.servlet.ServletContext sc, String requestedPagePath)
locateMarkupPath
in class PageLocator
clazz
- for the markup container/component (used to represents the ClassLoader loading the resource)sc
- as ServletContextrequestedPagePath
- as String (matches location version of classpath of component)IResourceStream
SiteApplication#tweakMarkupCacheStreamProvider}
public TemplateService getTemplateService()
public void setTemplateService(TemplateService templateService)
Copyright © 2018. All rights reserved.