Re: Reading component parameters in ITemplateSourceDelegate.findTemplate()

2006-05-24 Thread Karl
One more thing - when component (extending BaseComponent) without template is found I see that my custom ITemplateSourceDelegate.findTemplate() method is called. But when Tapestry can't find page template it just throws exception without calling this method (page not found in namespace IIRC). Ac

Reading component parameters in ITemplateSourceDelegate.findTemplate()

2006-05-24 Thread Karl
I'm trying to make custom component, which fetch its template from database. @Component abstract class DBTemplate extends BaseComponent { // templateId is PK of stored in database template @Parameter public asbtract String getTemplateId(); } Example: I've made my own implementation