ICEfaces
  1. ICEfaces
  2. ICE-11511

ace:dataTable with lazy loading in ace:tabSet is initialized on page load

    Details

      Description

      If an ace:tabset with clientSide="false" contains a tab pane with cache="none" and that pane is not loaded by default upon loading the page, the beans used in that pane shouldn't be initialized on page load. This is not the case when such pane contains an ace:datatable with lazy loading. The beans used by the lazy loaded data table shouldn't be initialized on page load but until the tab that contains it is activated in the tab set. It is being initialized on page load right now however. If the table is not lazy loaded, then its beans don't get initialized on page load but until the tab that contains it is activated, as expected. So, it's only a problem with lazy tables.

      The problem for the non-lazy case was fixed as per ICE-11239.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s EE-4.3.0.GA_P03 [ 13570 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53366 Thu Jun 03 20:26:54 MDT 2021 art.zambrano ICE-11511 only load the lazy data, for the purposes of visiting rows, if this is an update and not a first rendering
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Hide
        Arturo Zambrano added a comment -

        r53366: Only load the lazy data, for the purposes of visiting rows, if this is an update and not a first rendering.

        Show
        Arturo Zambrano added a comment - r53366: Only load the lazy data, for the purposes of visiting rows, if this is an update and not a first rendering.
        Hide
        Arturo Zambrano added a comment -

        r53366: Applied fix to the EE 3.3 maintenance branch.

        Show
        Arturo Zambrano added a comment - r53366: Applied fix to the EE 3.3 maintenance branch.
        Arturo Zambrano made changes -
        Fix Version/s EE-3.3.0.GA_P09 [ 13781 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Arturo Zambrano added a comment -

        r53408: Refactor the calls to loadLazyData() to outside of the visit tree logic, so that the lazy data is only loaded when the component is actually executed and/or rendered, thus preventing loading the lazy data when the component is not visible (4.3 EE maintenance branch).

        r53409: Committed fix to 4.3 P03 tag.

        Show
        Arturo Zambrano added a comment - r53408: Refactor the calls to loadLazyData() to outside of the visit tree logic, so that the lazy data is only loaded when the component is actually executed and/or rendered, thus preventing loading the lazy data when the component is not visible (4.3 EE maintenance branch). r53409: Committed fix to 4.3 P03 tag.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: