ICEfaces
  1. ICEfaces
  2. ICE-4427

REGRESSION - JS event being overwritten for ice:selectInputText

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 1.8, current trunk.

      Description

      The regression test case for ICE-4039 is failing with ICEfaces 1.8, and latest trunk. Works with 1.7.2-SP1.

      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

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Hide
        Joanne Bai added a comment -

        Fix verified on ICEfaces trunk revision 18832

        Show
        Joanne Bai added a comment - Fix verified on ICEfaces trunk revision 18832
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        yip.ng added a comment -

        Fixed. See attached screenshot ScreenHunter_02 Apr. 28 10.41.jpg.

        Show
        yip.ng added a comment - Fixed. See attached screenshot ScreenHunter_02 Apr. 28 10.41.jpg.
        yip.ng made changes -
        Attachment ScreenHunter_02 Apr. 28 10.41.jpg [ 11695 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18809 Tue Apr 28 10:41:34 MDT 2009 yip.ng ICE-4427
        Changed to not overwrite user's JS event handler for onblur.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java
        Ken Fyten made changes -
        Summary CLONE -js event being overwritten for ice:selectInputText REGRESSION - JS event being overwritten for ice:selectInputText
        Environment ICEfaces 1.8. ICEfaces 1.8, current trunk.
        Ken Fyten made changes -
        Environment ICEfaces 1.7.2-SP1, ICEfaces 1.8. ICEfaces 1.8.
        Affects Version/s 1.7.2-SP2 [ 10162 ]
        Description The regression test case for ICE-3502 is failing with ICEfaces 1.7.2-SP1, 1.8, and latest trunk. Works with 1.7.2.

        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
        The regression test case for ICE-4039 is failing with ICEfaces 1.8, and latest trunk. Works with 1.7.2-SP1.

        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
        Ken Fyten made changes -
        Environment ANY ICEfaces 1.7.2-SP1, ICEfaces 1.8.
        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
        The regression test case for ICE-3502 is failing with ICEfaces 1.7.2-SP1, 1.8, and latest trunk. Works with 1.7.2.

        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
        Ken Fyten made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ] Yip Ng [ yip.ng ]
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.8.1 [ 10170 ]
        Fix Version/s 1.7.2-SP2 [ 10162 ]
        Assignee Priority P2
        Affects Version/s 1.8 [ 10161 ]
        Affects Version/s 1.7.2-SP2 [ 10162 ]
        Affects Version/s 1.7 [ 10080 ]
        Affects Version/s 1.7.1 [ 10122 ]
        Affects Version/s 1.7.2 [ 10130 ]
        Affects Version/s 1.7.2 SP1 [ 10144 ]
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Sam Xiao created issue -

          People

          • Assignee:
            yip.ng
            Reporter:
            Sam Xiao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: