Jan 19th, 2012, 03:39 PM
Help with Spring mvc 3+freemarker+sitemesh.SiteMesh not decorating no errors either
I know a lot of people posted about this issue but i did read them all and am still unable to get sitemesh working on my machine.The key difference here is that i use 2 different view technologies.I've started working on a admin panel for an application but decision has change and i need to cater for public UI for the same applicaton, thus the need for another site templating+decorator.
I've managed to get spring 3 mvc + freemarker 2.3.14 + zkoss 5.0.8 working side by side with 2 view resolvers i let spring controllers manage public UI views and ZK controllers manage admin section views.
my codes are available on pastie
my decorator layout layoutspring.html is in /WEB-INF/ui/templates and views are in /WEB-INF/ui/views
the interesting part is that before sitemesh came into picture, when the webapp runs
returns the content of home.ftl => "it's working" and the admin also works fine.
the home.ftl meaning the text "it's working" shows but undecorated.When i type /admin/authentication/login is showing nothing.
nothing shows at / but zk views at '/authentication/login' and /admin/** shows correctly
same as case 2
nothing shows at / and /admin but everything in zk views shows at /admin/** adn /authentication/login
can anyone shed some light ? this is obviously configuration issues but right now i hit a block.Thanks for reading this
Last edited by highjo; Jan 20th, 2012 at 02:56 AM.
Reason: title not captivating
Tags for this Thread