Re: ITemplateSourceDelegate

2006-10-31 Thread andyhot
I recently did the exact same thing and just saw your implementation... Actually, I got a slightly better solution ;) After finding the page class, you have to create a 'virtual' page spec. The trick is to set its specificationLocation to be in the classpath, right in the package of the class yo

Re: ITemplateSourceDelegate

2006-10-27 Thread Pablo Ruggia
Thank you very much, you save me many hours of work. I've modified your class so it try to find templates in the packages you define in "org.apache.tapestry.page-class-packages" configuration, and look it into classpath, so it has not have to be only in WEB-INF/classes. Here is the code and the hi

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. > Thanks !! > Here is ISp