Interface ComponentTemplateLocator
-
- All Known Implementing Classes:
DefaultTemplateLocator
,PageTemplateLocator
@UsesOrderedConfiguration(ComponentTemplateLocator.class) public interface ComponentTemplateLocator
Deprecated.Deprecated in 5.3, override or decorateComponentResourceSelector
instead.Chain-of-command interface used to locate page and component templates. Contributions to this service support alternate naming schemes for template files, or alternate locations in which to search for template files. This service was introduced in Tapestry 5.2, but deprecated in Tapestry 5.3. It is utilized by the default implementation ofComponentResourceLocator
.- Since:
- 5.2.0
- See Also:
TapestryConstants.TEMPLATE_EXTENSION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Resource
locateTemplate(ComponentModel model, Locale locale)
Deprecated.Locates the template for the given model as aResource
.
-
-
-
Method Detail
-
locateTemplate
Resource locateTemplate(ComponentModel model, Locale locale)
Deprecated.Locates the template for the given model as aResource
.- Parameters:
model
- defines the component, especially its base resourcelocale
- to which the- Returns:
- localized template resource if found, or null if not found
-
-