Open brainwatch opened 12 years ago
I haven't tested Japid used in such a modular layout. Let me explore it a bit.
Can you zip me a sample project that demos this issue?
Ok I have added support for multi-root japid configuration. Basically the 0.5.4. version allow one to configure multiple roots for Japid scripts, thus enabling using japid in sub-project. the computer-japid sample app in my github demos this.
Here is the new API sample:
JapidRenderer.setTemplateRoot("japidroot", "modules/foo/japidroot");
The API function setTemplateRoot() would work only once to set the right root to the template. However, the problem seems to exists if we have multiple modules each having there respective japid root folder and and its relevant files.
@kushal28 Sorry being late, but if you could explain the problem in more detail?
Hi
I'm using Japid42 with Play2! for creating modular code. Scenario :
"RuntimeException: renderer class not found: japidviews.Application.index"
But the Login module works fine as a stand alone module.
How this can be resolved ? Is there any Global configuration required to achieve this ?
Thanks -bw