ICEfaces
  1. ICEfaces
  2. ICE-11239

ace:tabSet - tabPane with ace:dataTable being instantiated when not shown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04, 4.2.BETA
    • Fix Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      An ace:tabSet is set to display two tabPane's. Each tabPane has a ViewScoped bean assigned to it. In this scenario, only the active tab should be initialized when the page is loaded.

      This is true unless the second tabPane has an ace:dataTable on the page. With the dataTable included, it is initializing the View scoped bean on load and is doing so before the bean for the first tabPane.

      No changes to the cache attribute of the ace:tabPane have any effect on this behavior.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51397 Thu Mar 30 16:05:11 MDT 2017 art.zambrano ICE-11239 fix during visitTree to only regenerate the data model when it is necessary to visit rows, thus preventing initializing view-scoped beans bound to ace:dataTable components that haven't come into view yet
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: