ICEfaces
  1. ICEfaces
  2. ICE-7816

Optimization - Add a wrapping div to ACE components to prevent the entire form to be updated

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1.0.RC1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P3

      Description

      Some ACE components' script tags are rendered outside of a container that has a client id. With our DOM diff mechanism, this causes the entire form to be updated whenever the component is updated. Therefore, when the form has too many contents, every update seems slow. It is necessary to prevent this from happening by rendering a div with a client id that wraps the original markup and the script tag. This situation had already been documented for the ace:dialog component in ICE-7755.

      A quick survey revealed that the following components may present this situation:
      accordion
      confirmationDialog
      dataExporter
      dateTimeEntry
      draggable, droppable
      maskedEntry
      menu components
      notificationPanel
      panel
      printer
      progressBar
      slider

        Activity

        Hide
        Ted Goddard added a comment -

        If a subtree render is invoked via f:ajax, the DOM subtree will be looked up by client ID, so the clientID on the containing element of the component must be exactly the client ID of the component.

        Show
        Ted Goddard added a comment - If a subtree render is invoked via f:ajax, the DOM subtree will be looked up by client ID, so the clientID on the containing element of the component must be exactly the client ID of the component.
        Hide
        Arturo Zambrano added a comment -

        Committed fix for all the above components at revision 29477.

        Menu components had already been fixed as part of ICE-8241.

        Show
        Arturo Zambrano added a comment - Committed fix for all the above components at revision 29477. Menu components had already been fixed as part of ICE-8241 .

          People

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

            Dates

            • Created:
              Updated:
              Resolved: