ICEfaces
  1. ICEfaces
  2. ICE-6941

toggleOnInput set to true causes unresponsive browser

    Details

    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Set toggleOnInput to false

      Description

      A row selectable dataTable has a commandLink which opens a popup (either modal or non modal). When the rowSelector attribute toggleOnInput is set to true, the resulting popup displays but the browser appears to hang. This does not occur with toggleOnInput set to false. I see the following JS error in Firebug:

      element is null
      return parentStream(element.parentNode);

      coming from our bridge code here:

      function parents(element) {
      return Stream(function(cellConstructor) {
      function parentStream(e) {
      if (e == null || e == document) return null;
      return function() {
      return cellConstructor(e, parentStream(e.parentNode));
      };
      }
      return parentStream(element.parentNode);
      });
      }

      Test case attached.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24848 Mon Jun 20 15:16:54 MDT 2011 mircea.toma ICE-6941 Avoid clearing the "id" attribute of the hidden input element so that following DOM updates can find the element.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/javascript/extras/extras.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24847 Mon Jun 20 15:00:16 MDT 2011 mircea.toma ICE-6941 Avoid clearing the "id" attribute of the hidden input element so that following DOM updates can find the element.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24803 Mon Jun 13 04:38:26 MDT 2011 mircea.toma ICE-6941 Assign ID to hidden input element used as submit source to allow JSF submit to lookup the element.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24802 Mon Jun 13 04:37:36 MDT 2011 mircea.toma ICE-6941 Assign ID to hidden input element used as submit source to allow JSF submit to lookup the element.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/TableRenderer.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: