|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITemplateSourceDelegate
Acts as a delegate to the TemplateSource
,
providing access to page and component templates after the normal search mechanisms have failed.
The delegate must be threadsafe.
TemplateSourceImpl
Method Summary | |
---|---|
ComponentTemplate |
findTemplate(IRequestCycle cycle,
IComponent component,
Locale locale)
Invoked by the ITemplateSourceDelegate when a template can't be found
by normal means (i.e., in the normal locations). |
Method Detail |
---|
ComponentTemplate findTemplate(IRequestCycle cycle, IComponent component, Locale locale)
ITemplateSourceDelegate
when a template can't be found
by normal means (i.e., in the normal locations). This method
should find the template. The result may be null. The delegate
is responsible for caching the result.
cycle
- for access to Tapestry and Servlet API objectscomponent
- component (or page) for which a template is neededlocale
- the desired locale for the template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |