Re: Wicket + Guice + Transactional

2014-03-02 Thread Bill Speirs
I create the Dataprovider using Injection, which is why it creates the InterceptorStackCallback field in the object. However it ONLY does this when I mark the methods as @Transactional I don't think this is a Wicket proxy issue, more guice-persist. However, I was wondering if anyone had ran into t

How to set meta tags prroperty for facebook and Open Graph?

2014-03-02 Thread -
I need to set meta tag property as I want for facebook and OpenGraph with wicket. http://www.site.com/.."; /> http://www.site.com/images/"; /> An example code is welcomed because I am a newbie. Thanks. - To unsubsc

Re: Wicket + Guice + Transactional

2014-03-02 Thread uwe schaefer
On 02.03.2014 14:51, Bill Speirs wrote: field in the object. However it ONLY does this when I mark the methods as @Transactional yes, guice creates a proxy if it needs to (and it needs to if it needs to intercept the method call due to @Transactional). the point is here, try wrapping a wicket p

Re: Does wicket:link tag work inside pages in different packages?

2014-03-02 Thread Paul Bors
Instead of using in-line why not use a and then add(new Link(“homePage”, HomePage.class)); to your parent class? That will resolve no matter where its used from. After all is just a Link class at the end of the day. Also see the examples page: http://www.wicket-library.com/wicket-examples/lin

Re: Wicket + Guice + Transactional

2014-03-02 Thread William Speirs
Thanks for the idea... it worked! However the only hitch now is that I'm force to use field injection which makes unit testing that much harder (I really like everything constructor injected). I guess what I'd need to do is have my Guice binding be to a @Provides method which constructs a proxy cl