1 Reply Latest reply on Dec 11, 2008 10:48 AM by slalomit

    Problem with <ui:debug > and lazy loading.

    slalomit

      When i use ui:debug facelet tag on my page i have following exception :


      org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.mycomp.Students.classes, no session or session was closed


      Without ui:debug everything is working correctly.


      Maybe, anybody knows how fix it or how to disable ui:debug?


      Any workarounds are also applicable.

        • 1. Re: Problem with <ui:debug > and lazy loading.
          slalomit

          I use richfaces and seam for my inviroment.


          My problem connected with rich:datascroller element. When i try to click to another page on datascrolle i have lazy loading error.


                   
          <rich:dataTable id="table">
                      </rich:dataTable>
           
                      <rich:datascroller for="table"/>