Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-01 Thread mscoon
No you don't. The referenced objects will be serialized along with the entity you are serializing and everything should work just fine. On Thu, May 1, 2014 at 10:30 PM, Yahoo wrote: > Ok,thank you, that's it. > > My Entity has a lot of MANYTOONE relationships which are set > byDropDownChoice

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-01 Thread Yahoo
Ok,thank you, that's it. My Entity has a lot of MANYTOONE relationships which are set byDropDownChoices. In the case of a new entity, do I have to load all these Entities too and to save their ids ? Am 01.05.2014 15:01, schrieb mscoon: Heiner, You didn't tell us which dependency injection fr

Re: setVisible on a WebMarkupContainer during initial page render based on ListChoice value

2014-05-01 Thread Craig L
Hi Gabriel, I added an isVisible() to the WebMarkupContainer and that is working as I hoped. I have bookmarked the bestpractices page for future reference. Thank you for pointing me in the right direction. Craig -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setVisi

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-01 Thread mscoon
Heiner, You didn't tell us which dependency injection framework you you using. If you're using Spring then simply use the @SpringBean annotation to get a reference to an EntityManager or a Dao. @SpringBean automatically works only for components so you'll also need to add a call to injector to

problem with AbstractEntityModel from Igor Vaynberg

2014-05-01 Thread Yahoo
I tried the AbstractEntityModel from Igor Vaynberg but I didn't get solved the @Dependency annotation from Vaynbergs salve. Is there another solution for the Hibernate integration for models. Best regards Heiner