-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello
Is there any sample implementation for google guice with ZK .
I am trying it but still didn't succeed , i was able to configure ZK through code but injection is still not working on the viewmodel classes that zul page reference to .
bind(DHtmlLayoutServlet.class).asEagerSingleton();
bind(DHtmlUpdateServlet.class).in(Scopes.SINGLETON);
Map<String,String> layoutServletParameters = new HashMap<String, String>();
layoutServletParameters.put("update-uri", "/zkau");
serve("*.zul", "*.zhtml").with(DHtmlLayoutServlet.class,layoutServletParameters);
serve("/zkau/*").with(DHtmlUpdateServlet.class);
serve("*.html").with(MyServlet.class);
Any one did this before or any guide lines to follow .
Best Regards Shahbour
Any news here? I would like to integrate ZK and Guice. I'm planning to write my own custom module but, if someone already did it, it will be awesome to share and provide some instructions before reinventing the wheel. Thanks!
Asked: 2013-03-24 22:29:16 +0800
Seen: 42 times
Last updated: May 06 '13