Hi all, 
  In my Tap app I have a simple js file which contains: 


This library resides under: Web-Content/assets/js/test.js

The page for which I want to import this library has the following
annotation above the class declaration:

@Import(library="context:/assets/js/test.js")
public class MemberHome {
...
}

If I change the library name, Tap5 complains the file does not exist, so I
assume it is indeed reading it when the name's match. 

However, after launching the app, when I look in the page source the library
does not exist. Somehow Tap is not complaining about not finding the file,
but it does not include it in the page. 

Is there something obvious that i'm missing here?

Thanks very much, 
Bogdan. 





--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Javascript-library-not-loaded-into-the-page-via-Import-tp4574599p4574599.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to