ICEfaces
  1. ICEfaces
  2. ICE-8909

Add support for "oninput" DOM events to all text input components

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.2.0.BETA
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      IE9, Chrome, Firefox, Opera, Safari (HTML5 browsers)
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      This JIRA is aiming to add support for oninput event (or similar) to a set of ICEfaces components which generate the following HTML upon rendering:

      <textarea>, <input type="text">, <input type="password"> or <input type="search">

      The support of this event will allow to trigger client or server side logic upon:

      1. Entering some text into an element.
      2. Cutting, deleting or pasting some content.
      3. Dropping some content into an element. (only in Google Chrome and Safari)

      It will also allow to trigger server side listeners in cases when alternative input type is used as demonstrated in this video:

      http://screencast.com/t/3Iv4vFiVLvB

      (ice:selectInputText does not trigger valueChange&TextChange listeners with Microsoft IME Pad for Japanese)

      More information about oninput event can be found over here: http://help.dottoro.com/ljhxklln.php
      and here: http://www.w3schools.com/tags/ref_eventattributes.asp

        Activity

        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s 4.0.BETA [ 10770 ]
        Tyler Johnson made changes -
        Attachment sf-11862.war [ 16022 ]
        Tyler Johnson made changes -
        Comment [ This issue only occurs on Firefox. Change the IME pad to one of the Japanese dialects (I use full width Katakana) and after entering a character, the only way to fire the valueChangeListener and/or textChangeListener is to hit the enter button twice. This is not an issue on Chrome. I have setup the IE9 box with the IME pad and can assist in demonstrating. Test case attached. ]
        Tyler Johnson made changes -
        Attachment sf-11862.war [ 16022 ]
        Tyler Johnson made changes -
        Salesforce Case Reference 5007000000QXFurAAH
        Ken Fyten made changes -
        Summary on input event support Add support for "oninput" DOM events to all text input components
        Fix Version/s 3.4 [ 10770 ]
        Assignee Ken Fyten [ ken.fyten ]
        Affects Documentation (User Guide, Ref. Guide, etc.),Compatibility/Configuration [ 10003, 10002 ]
        Ken Fyten made changes -
        Field Original Value New Value
        Environment IE9, Chrome, Firefox, Opera, Safari IE9, Chrome, Firefox, Opera, Safari (HTML5 browsers)
        Evgheni Sadovoi created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: