Re: Wicket pages created by guice

2011-02-23 Thread Dan Griffin
s almost always harder to do this sort of thing with a Page. On Tue, Feb 22, 2011 at 3:20 PM, Dan Griffin <mailto:dangri...@gmail.com>> wrote: Thanks, that does offer more flexibility, but it hasn`t solved my problem yet. Guicier and wicket-guice both return objects with wicket

Re: Wicket-Spring Hibernate dao

2011-02-22 Thread Dan Griffin
I think that it happened because spring wrapped a proxy around your bean, and then hibernate couldn`t recognize its class and which table it should look for. I`m not sure if you can get around it, but I agree with Igor that you should create your domain objects with new, rather than inject the

Re: Wicket pages created by guice

2011-02-22 Thread Dan Griffin
uicier <http://code.google.com/p/jolira-tools/wiki/guicier>There is an extended integration with Guice. On Mon, Feb 21, 2011 at 5:16 PM, Dan Griffin wrote: Sorry for spamming, but I remembered another thing I would like to ask related to this. The reason why I need to inject a page is bec

Re: Wicket pages created by guice

2011-02-21 Thread Dan Griffin
. I did a quick scan through wicket documentation, but couldn`t find anything useful. Maybe I missed something? Време: 21.02.2011. 13:31, Dan Griffin пише: Hi all, I have guice integrated in my wicket app, and it worked fine until I tried to inject a page, when I received

Wicket pages created by guice

2011-02-21 Thread Dan Griffin
Hi all, I have guice integrated in my wicket app, and it worked fine until I tried to inject a page, when I received java.lang.IllegalArgumentException: Protected method: checkHierarchyChange(Lorg/apache/wicket/Component;) Now, I assume this is because of guice integration pitfall