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 ContextResource are classes that already extend AbstractResource. I assume these are what load the .tml files either from classpath or from a file on the context.
I'm having trouble navigating the code to the point where I could tell a component to choose a resource( content of .tml) from an alternate storage. Can someone point me in the right direction? I'm not afraid of editing tapesty base code if I have to, although I'd rather not (perhaps I can inject a custom implementation?) I'm scared I might be limited to providing the .tml content via URL..is that so? Thanks Michael Lake