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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29689 Tue Jun 26 12:55:33 MDT 2012 art.zambrano ICE-8280 reverted improvement made in ICE-7816, since it's not really necessary for ace:dataExporter
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29477 Tue Jun 12 15:55:17 MDT 2012 art.zambrano ICE-7816 wrapped all <script> tags and other elements inside a root container to avoid full-form dynamic updates
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/sliderentry/SliderEntryRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/panel/PanelRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/notificationpanel/NotificationPanelRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/printer/PrinterRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DroppableRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/confirmationdialog/ConfirmationDialogRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DraggableRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntryRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: