Re: [s2] Problems with lazy loading (open session in view approach)

2007-10-26 Thread lbastil
Just found the problem cause: what was not mentioned: in the requests initiated by the remote divs the model is retrieved from session. For the model no hibernate session is attached, so non of the not already loaded lazy loading fields are available. Seems we have to: a) attach session manuall

[s2] Problems with lazy loading (open session in view approach)

2007-10-26 Thread lbastil
In our application we need to lazy load fields in the view. We have configured springs OpenSessionInViewFilter. If we use lazy loading from a normal JSP View, everything works fine. But on our View we also have AJAX tabbedpane with remote div's. Now the problem is: within the content of this r