Andreas pointed out on the tacos list that I could do this too: <include-script resource-path="/net/sf/tacos/ajax/components/effects.js" />
In a .script file. I'm going to try that. On 3/23/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > A component can have things injected into it like anything else. <inject > object="" property="" /> > > On 3/23/06, Chris Norris <[EMAIL PROTECTED]> wrote: > > > > I've been using the IEngine's getClassResolver() to get .js files that > are > > inside .jar files on the classpath. I'm doing this in renderComponent > > methods so that I can add them as external scripts via PageRenderSupport > > (I > > ripped this idea off from tacos' AjaxFormSupportImpl class). What's the > > best way to do this now that getClassResolver() is deprecated? The > > deprecation message says that it can be injected in to services, but I'm > > not > > in a service, I'm in a component. And is there some other better way to > > solve my underlying problem, that of trying to use .js files that are on > > the > > classpath somewhere? > > > > > > > -- > Jesse Kuhnert > Tacos/Tapestry, team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://opennotion.com > >
