4 Replies Latest reply on Nov 16, 2007 6:15 AM by demetrio812

    PAGE scope and Ajax dataTable scroll

    demetrio812 Apprentice

      I have a PAGE scoped bean, inside I have a list that I read from a db, in the xhtml I have a rich:dataTable and a rich:datascroller but when I scroll data I got a LazyInitializationException (could not initialize proxy - no Session).

      I know that it's because the objects are detached coz of the serialization of the Bean, in fact if I use a long running conversation it works.

      So my question is: there is a way to implement ajax data scrolling in a PAGE scoped bean or I have to use CONVERSATION scoped bean?


      Demetrio Filocamo