T5: Contributing a custom PageTemplateLocator, did I find a bug?

2007-11-03 Thread Mike Lake
I'm trying to create my own resource type in addition to the ClasspathResource (for returning a URL of classpath:) and the ContextResource(for returning a URL of context:) What I'm trying to achieve is to add a third resource type which I'm calling HttpResource(so I can return a URL of

Re: T5: How can I inject a different resource type?

2007-11-01 Thread Mike Lake
Michael Lake wrote: Basically, I want to be able to store my component .tml files in a database. I've been looking at the code, stepping through the debugger, and it seems that I need to implement org.apache.tapestry.ioc.Resource or perhaps extend AbstractResource. ClasspathResouce and