ICEfaces
  1. ICEfaces
  2. ICE-8798

Bean Getters getting called on none-rendered ace:dataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      Arran: "A customer has raised an issue where they are seeing the contents of a non-active tab getters being called. I've been able to reproduce the reported behavior in an isolated test case using ICEfaces 3.2.0.

      This test consists of the default values for the tabSet and tabPane (clientSide=false, cache=none). Each tab has an h:outputText and an ace:dataTable. The behavior they are seeing is that when the first tab is rendered the getter for the list assigned to the ace:dataTable of the second tab content is called. The getter for the outputText in the second tab pane does not get called."
      1. Case11811Example.zip
        20 kB
        Arran Mccullough
      2. Case11811ExampleWAR.zip
        9.36 MB
        Arran Mccullough
      1. auction.png
        60 kB

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32831 Mon Dec 17 09:50:13 MST 2012 mircea.toma ICE-8798 Modified DataTable component to test for Myfaces environment before resetting the data model, whenever that was meant to fix a Myfaces issue. Also modified RestoreResourceDependencies to provide the SKIP_ITERATION hint whn visiting the tree, this way the data table will not access its data model and indirectly the backing beans.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/RestoreResourceDependencies.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: