-
1. Re: Javascripts are not loading on GateIn 3.6
vstorm83 Oct 28, 2013 1:19 AM (in response to anishantony)Hi, does this thread relate to this Javascripts are not loading on GateIn startup ? If yes, you'll need to fix problem with Closure compiler first
About this :
I think on GateIn 3.6 there is a some tag changes happens for adding javascripts in gatein-resources.xml file (according to this link).
--> yes, GateIn 3.6 provide new machanism that support AMD JS. You should use that new way if your JS is AMD modules. But even if you don't migrate gatein-resources.xml, it should works like before --> Problem with js files while migrating from gatein 3.2 to 3.6
If you use the new provided tags: <scripts> and <module> to declare your portlet JS files, they should be AMD or GMD, more details on this: JavaScript in GateIn - GateIn Portal 3.5 - Project Documentation Editor
Note :
- you'll need to make some migration on portlet's JS files, or you'll need to use "<adapter>" tag to transform your JS to GMD or AMD native modules (pls read the doc for details)
- you still need to resolve all issue with Closure compiler, GateIn use Closure to compress all JS files, even AMD modules