Henry Chen wrote: > I have been searching around desperately for solution of handling > lazy-loading database objects in tapestry. I configured > OpenSessionInViewFilter for Tapestry pages. It worked for some cases > but not all. For example, in the table component, the first page was > good, but when I selected other pages, it gave me the > LazyInitialization exception - owning session was closed. Is there any > way around it now? Thanks a lot!
Hi , I'm having the same problem on Trails. This quote may help. quote form Open Session in View discussion on Hibernate site. <quote> Open Session pattern and Tapestry web framework 24 Mar 2004, 19:27 wassup If you develop your application with Tapestry framework it is better do not use Servlet Filters to manage request cycle. More preferable to override setupForRequest() and cleanupAfterRequest() of Engine class. </quote> I have no time to try this. Please let me know if it works for you, or if you find another workaround. Saludos. Alejandro. PD:- please, excuse my English. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
