Modules should end up in:
classpath/META-INF/modules (classpath in your case being WEB-INF/classes
)
You haven't shared anything about how you attempt to reference the files so
its hard to help you.
To include the module in: WEB-INF/classes/META-INF/modules/login/login.js
You could do
hi,
I'm trying to upgrade my project from 5.3.8 and running into problems
using modules.
For the source directory structure I have tried:
src/main/resources/META-INF/modules/mymodule/mymodule.js AND
src/main/modules/mymodule/mymodule.js
and for the deployment directory structure I have tried
Or, as I prefer these days because in this style you can easily modify it to
add parameters or invoke particular functions:
void afterRender() {
javaScriptSupport.require(login/login);
}
Geoff
On 5 Feb 2015, at 8:01 pm, Chris Poulsen mailingl...@nesluop.dk
Thanks Geoff and Chris for your quick response. Much appreciated!
In fact I referenced it like this:
javaScriptSupport.require(login) because I thought the module name is
a reference to the folder.
javaScriptSupport.require(login/login) works fine.
Thank you so much!
Andreas
Geoff Callender