Hello

Have any one tried to use ZK Framework with Guice. I was able to enable ZK 
framework and it is running now but when ever i reference a viewmodel 
(MVVM) from a zul page the @inject or any thing related to guice don't work 
, but with same web application if i extend an httplistener and test it as 
example it work.


I am still beginner in Guice but it seems guice is not injecting any thing 
for zk servlet .


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);
>
>

 Above is my code any thing related to zk injection don't work but inside 
MyServlet for html pages it is working perfectly.

I am trying to enable shiro with zk framework with guice .

Best Regards
Shahbour

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to