How do you load resources from classpath within a component? If I do:

this.getClass().getClassLoader().getResourcesAsStream(path);

then it returns null but if I do:

writer.getClass().getClassLoader().getResourcesAsStream(path);

then it returns the resource fine. I'm guesssing it has to do with
writer (which is an IMarkupWriter) not being an enhanced class. What is
it about the tapestry classloading that causes it not to work as
expected?

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to