ICEfaces
  1. ICEfaces
  2. ICE-10096

ace:dataTable - Issue with lazy loading and request scope

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, EE-3.3.0.GA_P02
    • Fix Version/s: 4.0, EE-3.3.0.GA_P03
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Use a View or Window Scope for the managed bean instead of the Request scope.

      Description

      An ace:dataTable uses lazy loading. The managed bean for the for the list is a request scoped bean. This is working well when displaying the data in the table.

      The issue is seen when trying to send a check box selection to another bean. This other bean is a session scoped bean. If the selectBooleanCheckbox uses an f:ajax tag or the icecore:singleSubmit tag is used, the selection is lost (clicking a checkbox will immediately uncheck it). The response returned is clearing out the checkbox.

      If lazy loading is set to false and the full set of data is used, this is not an issue using the same request/session scoped bean combination.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41501 Tue Jun 24 08:52:04 MDT 2014 mircea.toma ICE-10096 Load data model when visiting the rows of the table during update values JSF phase.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: