Interface ComponentTemplateLocator
- All Known Implementing Classes:
DefaultTemplateLocator
,PageTemplateLocator
Deprecated.
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 of
ComponentResourceLocator
.- Since:
- 5.2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlocateTemplate
(ComponentModel model, Locale locale) Deprecated.Locates the template for the given model as aResource
.
-
Method Details
-
locateTemplate
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
-
ComponentResourceSelector
instead.