Re: Unable to find an example of implementation of ITemplateSourceDelegate interface

2006-12-11 Thread Tapestry User List
Here the correct code: public class TemplateSourceDelegate implements ITemplateSourceDelegate { /** * Method called by Tapestry when it is unable to find the template of a component or a page */ public ComponentTemplate findTemplate(IRequestCycle cycle, IComponent component

Unable to find an example of implementation of ITemplateSourceDelegate interface

2006-12-11 Thread Tapestry User List
Hello, It seems nobody has ever been able to implement the ITemplateSourceDelegate interface. Does it mean that it is simply not possible ? I tried to implement this interface but as others people, I got a NullPointerException in the method TemplateParser.addTextToken(). Here my code: public

Re: ITemplateSourceDelegate

2006-10-31 Thread andyhot
(new DescribedLocation( >spec.getSpecificationLocation(), "")); >spec.addAsset("$template", aspec); > >//return the specification >return spec; > >} > >public IComponentSpecification findComponentSpec

Re: ITemplateSourceDelegate

2006-10-27 Thread Pablo Ruggia
Specification( IRequestCycle cycle, INamespace namespace, String type) { return null; } } On 10/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Has someone a working example of an ITemplateSourceDelegate > or or a PageSpecificationResolverImpl ? I ca

RE: ITemplateSourceDelegate

2006-10-27 Thread spamsucks
> Has someone a working example of an ITemplateSourceDelegate > or or a PageSpecificationResolverImpl ? I can't find any. > I only want to have a .class for each page and in the same > package the html template. All .page configuration will be > set using annotations. >

ITemplateSourceDelegate

2006-10-26 Thread Pablo Ruggia
Has someone a working example of an ITemplateSourceDelegate or or a PageSpecificationResolverImpl ? I can't find any. I only want to have a .class for each page and in the same package the html template. All .page configuration will be set using annotations. Thanks !!