ICEfaces
  1. ICEfaces
  2. ICE-5765

ICEfaces 2.0 + PortletFaces Bridge: ice:selectOneMenu DOM-diff inefficiency with the f:selectItem value="" empty string

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0.1
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      Liferay 5.2.3

      Description

      Actually this might not be portlet related, but I founded while testing the bridge...

      In the attached portlet, you'll notice that the provinceId dropdown is using h:selectOneMenu instead of ice:selectOneMenu

      This is because the ice:selectOneMenu has a DOM-diff inefficiency with the f:selectItem value="" empty string in that it causes a DOM-diff all the time.

      On the initial HTTP-GET (pre-ajax), this is what the dropdown markup looks like:
          <option selected="selected" value="">-- Select --</option>

      After causing an onblur, the XmlHttpRequest (post-ajax) causes a DOM-diff, and this is what the replaced dropdown markup looks like:
          <option value="">-- Select --</option>

        Activity

        Neil Griffin created issue -
        Neil Griffin made changes -
        Field Original Value New Value
        Attachment icefaces-2.0-compat-portlet.zip [ 12363 ]
        Neil Griffin made changes -
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Beta [ 10231 ]
        Assignee Ted Goddard [ ted.goddard ]
        Deryk Sinotte made changes -
        Salesforce Case []
        Component/s Bridge [ 10011 ]
        Component/s Framework [ 10013 ]
        Fix Version/s 2.0.0 [ 10230 ]
        Fix Version/s 2.0-Beta [ 10231 ]
        Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Assignee Priority P2
        Assignee Deryk Sinotte [ deryk.sinotte ] Ted Goddard [ ted.goddard ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2
        Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Salesforce Case []
        Fix Version/s 2.0.1 [ 10255 ]
        Fix Version/s 2.0.0 [ 10230 ]
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: