ICEfaces
  1. ICEfaces
  2. ICE-4039

js event being overwritten for ice:selectInputText

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.7.1, 1.7.2, 1.7.2 SP1
    • Fix Version/s: 1.7.2-SP2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ANY

      Description

      some javascript events of ice:selectInputText being overwritten by the framework make them unusable.
      for example, onblur event gets overwritten with "setFocus(...)"
      we probably should do the same thing for ice:inputText. i.e. append framework js code to user js code.
      Test case attached shows different behavior for onblur event of ice:selectInputText and ice:inputText

        Activity

        Hide
        Sam Xiao added a comment -

        tomcat 6.0

        Show
        Sam Xiao added a comment - tomcat 6.0
        Hide
        Mark Collette added a comment -

        Fixed onchange, onblur, onfocus to passthrough the values.

        Subversion 18339
        icefaces17\component\src\com\icesoft\faces\component\selectinputtext\SelectInputTextRenderer.java
        icefaces17\core\src\com\icesoft\faces\renderkit\dom_html_basic\PassThruAttributeRenderer.java

        Show
        Mark Collette added a comment - Fixed onchange, onblur, onfocus to passthrough the values. Subversion 18339 icefaces17\component\src\com\icesoft\faces\component\selectinputtext\SelectInputTextRenderer.java icefaces17\core\src\com\icesoft\faces\renderkit\dom_html_basic\PassThruAttributeRenderer.java
        Hide
        Mark Collette added a comment -

        ICEfaces 1.7.0 version of SelectInputTextRenderer.java, with changes to allow for passing through onblur, onfocus, onchange.

        Show
        Mark Collette added a comment - ICEfaces 1.7.0 version of SelectInputTextRenderer.java, with changes to allow for passing through onblur, onfocus, onchange.
        Hide
        Mark Collette added a comment -

        ICEfaces 1.7.0 version of SelectInputTextRenderer.java, with changes to allow for passing through onblur, onfocus, onchange.

        Show
        Mark Collette added a comment - ICEfaces 1.7.0 version of SelectInputTextRenderer.java, with changes to allow for passing through onblur, onfocus, onchange.
        Hide
        Joanne Bai added a comment -

        Confirm fix with success on 1.7.2-SP2 build 3

        Tested on Tomcat 6 + FF2 and IE6

        Show
        Joanne Bai added a comment - Confirm fix with success on 1.7.2-SP2 build 3 Tested on Tomcat 6 + FF2 and IE6

          People

          • Assignee:
            Unassigned
            Reporter:
            Sam Xiao
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: