Hi all,
today I extended my experiments to loading of modules. So as soon as a user
logs in, it gets a list of modules he’s allowed to use.
Then the application dynamically loads only these modules.
So I managed to get the ModuleLoader to correctly load the css file from a
subdirectory:
<j:SectionContent name="TestAModule">
<j:ModuleLoader height="100%" width="100%" autoLoad="true"
moduleName="TestAModule" modulePath="main/TestAModule"/>
</j:SectionContent>
In the browser I can see it loading some stuff from the subdirectory
“main/TestAModule” … unfortunately it tries to load the js file
“TestAModule.js” from the root and not from that sub-directory.
What do I have to do to make it load this from the right place?
Chris