Re: How to deal with JPA Entities in a Wicket Model? (Data handling in models)

2013-05-04 Thread Christian Reiter
Am 03.05.2013 16:28, schrieb Bertrand Guay-Paquet: Best solution I can imagine would be if there would be a callback or overridable method which is called when the user navigates to a page and another one which is called when the user leaves a page. Those methods would be great to prepare and

Re: How to deal with JPA Entities in a Wicket Model? (Data handling in models)

2013-05-04 Thread Bertrand Guay-Paquet
I understand, that there can be situations when a user actually doesn't leave a page the usual way, but if there were a method as described, it could at least be helpful for all the preceding page-leave-events under normal conditions. I never use it, but there's javascript's onbeforeunload

Wicket MarkupContainer error, the component failed to render

2013-05-04 Thread Bruno Moura
I need to add components in a listView and associate all of them with a model,for allow keep the state of each object saved in this listView. I'm using wicket 1.4 with scala. The code is showed bellow, isn't a short piece of code but I tried to keep it simple as possible add(new