No, The exception happens when the modal is displayed.
The problem can be solved using a DetachableModel.
***Maybe***...
When u do the ajax call to open the window, the createPage of the
modal is called, but not the render. After that, wicket calls the
modal url, and this time the render method w
weird... I'd expect that the CheckboxMultipleChoice would force the
initialization of the list before the EntityManager is closed. Is the
exception thrown on the form submission?
On Fri, Oct 2, 2009 at 8:48 AM, Pedro Santos wrote:
> use *OpenSessionInViewFilter* to avoid lazy initialization excep
use *OpenSessionInViewFilter* to avoid lazy initialization exceptions
On Fri, Oct 2, 2009 at 8:42 AM, Albert Romanius wrote:
> The line that throws the exception is below:
> CheckBoxMultipleChoice subMessagesCB = new CheckBoxMultipleChoice(
> "subMessages", new PropertyModel(this,
>
The line that throws the exception is below:
CheckBoxMultipleChoice subMessagesCB = new CheckBoxMultipleChoice(
"subMessages", new PropertyModel(this,
"selectedSubs"), showMessage.getLazyList());
The problem is the showMessage.getLazyList() call. When wicket renders
this combobox, s
while i couldnt identify which object is throwing the
lazyInitialization, the problem is probably that the entity is not
associated with the hibernate session. On the request that opens the
ModalWindow you must either reload or reatach the entity
On Thu, Oct 1, 2009 at 7:55 PM, Albert Romanius wr
Hi,
I am working with wicket and jpa/hibernate/spring. I am trying to
create a ModalWindow, but I get a LazyLoadingException. I tryed the
OSIVpattern, but it did not work.
Using the modal inside a form does not make any difference also.
Has anyone else this problem?
The page which the modalWind