Re: Guice 2 / WarpPersist Wicket

2010-05-31 Thread nino martinez wael
Okay tried moving the @Inject from the setter to the field declaration, still not working. Tried to add the keyword transient to the field, still not working :/ Im a little lost here for once.. Remember it's only when my loadable detachable models are called the 2nd time, on first load it works..

Re: Guice 2 / WarpPersist Wicket

2010-05-31 Thread nino martinez wael
As workaround for now I am doing this, but are a very ugly way: 2010/5/31 nino martinez wael nino.martinez.w...@gmail.com: Okay tried moving the @Inject from the setter to the field declaration, still not working. Tried to add the keyword transient to the field, still not working :/ Im a

Re: Guice 2 / WarpPersist Wicket

2010-05-31 Thread nino martinez wael
Argh, hotkeys in gmail, and daughter jumping around , heres the code notice the extra call in acessor method: import org.apache.wicket.injection.web.InjectorHolder; import org.apache.wicket.model.IModel; import org.apache.wicket.model.LoadableDetachableModel; import com.google.inject.Inject;

Guice 2 / WarpPersist Wicket

2010-05-28 Thread nino martinez wael
Hi Guys I wanted to try out the now working wicket injector holder for my webapp. But I keep getting: java.lang.IllegalStateException: EntityManager is closed at org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:66) at