Hi,

I use following code to include a javascript:

  @Inject
    @Path("context:/js/jquery.js")
    private Asset _library;

    @Environmental
    private PageRenderSupport _renderSupport;

    void beginRender() {
      _renderSupport.addScriptLink(_library); 
    }

but always got :Unable to locate asset 'context:js/jquery.js' (the file does
not exist).

the js file is under WEB-INF/js, why? 
Thanks,
A.C.

-- 
View this message in context: 
http://www.nabble.com/T5%3A-why-not-able-to-locate-js--tf4583504.html#a13083743
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to