Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5725

Fix layouts re-render in ajax

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: None
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      include the widget/row/layout tag id (see new methods getTagConfigId()) when creating facelet handlers

      Show
      include the widget/row/layout tag id (see new methods getTagConfigId()) when creating facelet handlers

      Description

      When re-displaying layouts using ajax calls, sometimes layout is not re-rendered as expected.
      This is due to some facelets cache that does not re-create component when found in the existing tree of JSF components.

      This is true for widgets, but also for any component in the layout template for instance: it keeps its old values (and value expressions with the old variable mapper) so display is not correct.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: