ICEfaces
  1. ICEfaces
  2. ICE-6341

Excessive DOM update for select components

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 3.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, h:selectManyMenu
    • Assignee Priority:
      P3

      Description


      Mojarra select component renderers buffer the output then write the body of the select (containing the options) as a single string:


              <option value="bean.selection.cars.car1.value">bean.selection.cars.car1.value</option>
      <option value="bean.selection.cars.car2.value">bean.selection.cars.car2.value</option>
      <option value="bean.selection.cars.car3.value">bean.selection.cars.car3.value</option>
      <option value="bean.selection.cars.car4.value">bean.selection.cars.car4.value</option>
      <option value="bean.selection.cars.car5.value">bean.selection.cars.car5.value</option>

      This causes problems during applyBrowserChanges() as the "oldDOM" values cannot be modified by the submitted values. This results in the oldDOM not being updated to contain the browser submitted values, typically causing a larger DOM diff than necessary. In other cases, it may result in an inability to clear browser values.

        Activity

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: