Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3918

DefaultFaceletsStateManagementStrategy: keep list of removed client IDs stable over time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.15, 2.1.16-SNAPSHOT
    • 2.0.22, 2.1.16, 2.2.5
    • None
    • None

    Description

      As described in this thread: http://markmail.org/thread/ayo7ooo3nzpzahd4

      Clearing part of the component tree (calling getChildren().clear()) several time while staying on the same view (through Ajax requests) causes the list of removed client IDs (maintained in org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy) to grow endlessly, which in turns degrades performances.

      In our situation, a form with approximately 400 components took ~250ms on the first request to more than 1 second after ~15 update.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            mhz4248 Jean Revertera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: