Greetings Tapestry Users,

I’m wondering what is the best way for a component class to import an
externally hosted javscript library?

I know that if I want to import a JS file from within my own project I can
use the org.apache.tapestry5.annotations.Import annotation, and tapestry
will make sure that the library is included only once on the page no matter
how many times the component might appear.  However as near as I can tell
the Import annotation will only pull in files off the class path.  Is there
a similar functionality I can use to import a JS library hosted on an
external site or do I just include <script src=ā€...ā€> tags in the component
template?

Thanks,

Mike T

Reply via email to