Re: How do you use JS in Tap5.4

2013-09-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Sep 2013 15:54:15 -0300, George Christman wrote: Hello, I seemed to be really confused on how to use a custom js file in Tap5.4. I use to use @Import which no longer appears to fire. @Import continues working as before. You just need to put the files inside /META-INF in the cla

Re: How do you use JS in Tap5.4

2013-09-26 Thread George Christman
I was able to get this working using @Environmental private JavaScriptSupport jsSupport; public void setupRender() { jsSupport.require("etss_custom"); } I'm wondering if there is a better way to set up my scripts than this? I don't anything about stacks, but should I learn and i

How do you use JS in Tap5.4

2013-09-26 Thread George Christman
Hello, I seemed to be really confused on how to use a custom js file in Tap5.4. I use to use @Import which no longer appears to fire. I then decided to try and use require js and still can't get tapestry to load my script. I have the following config, src/main/resources/META-INF/modules/test.js