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

        Hide
        Ken Fyten added a comment -

        Note that integration of the "oninput" event (on supported browsers - aka all but IE7-8) would need to avoid double-submitting due to the existing onvaluechange, onblur listeners being fired in addition to the his one.

        Show
        Ken Fyten added a comment - Note that integration of the "oninput" event (on supported browsers - aka all but IE7-8) would need to avoid double-submitting due to the existing onvaluechange, onblur listeners being fired in addition to the his one.

          People

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

            Dates

            • Created:
              Updated: