ICEfaces
  1. ICEfaces
  2. ICE-9002

Introduce tag to enable/disable submit on enter feature

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA
    • Fix Version/s: 3.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P2
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The default behavior of the ICEfaces is to submit a form when a user presses enter on any input field.
      This JIRA is aiming to introduce a new icecore tag which can disable/enable form submission on Enter.

      Example:
      <icecore:submitOnEnter enabled="true">
        <ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20"/>
        <ice:inputText id="lastname" value="#{employee.lastName}" required="true" maxlength="20"/>
      </icecore:submitOnEnter>
      1. edited_error.log
        9 kB
        Evgheni Sadovoi
      2. MouseOutAndTab.avi
        3.21 MB
        Evgheni Sadovoi
      3. PressingEnter.avi
        4.28 MB
        Evgheni Sadovoi

        Activity

        Evgheni Sadovoi created issue -
        Evgheni Sadovoi made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000RSKFbAAP
        Mircea Toma made changes -
        Summary New allowSubmitOnEnter attribute for input components Introduce tag to enable/disable submit on enter feature
        Mircea Toma made changes -
        Description The default behavior of the ICEfaces is to submit a form when a user presses enter on any input field.
        This JIRA is aiming to introduce a new optional attribute which can disable/enable form submission on Enter.

        Example:

        <ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20" allowSubmitOnEnter="true"/>
        The default behavior of the ICEfaces is to submit a form when a user presses enter on any input field.
        This JIRA is aiming to introduce a new icecore tag which can disable/enable form submission on Enter.

        Example:
        <icecore:submitOnEnter enabled="true">
          <ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20"/>
        </icecore:submitOnEnter>
        Mircea Toma made changes -
        Description The default behavior of the ICEfaces is to submit a form when a user presses enter on any input field.
        This JIRA is aiming to introduce a new icecore tag which can disable/enable form submission on Enter.

        Example:
        <icecore:submitOnEnter enabled="true">
          <ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20"/>
        </icecore:submitOnEnter>
        The default behavior of the ICEfaces is to submit a form when a user presses enter on any input field.
        This JIRA is aiming to introduce a new icecore tag which can disable/enable form submission on Enter.

        Example:
        <icecore:submitOnEnter enabled="true">
          <ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20"/>
          <ice:inputText id="lastname" value="#{employee.lastName}" required="true" maxlength="20"/>
        </icecore:submitOnEnter>
        Mircea Toma made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Hide
        Evgheni Sadovoi added a comment -

        Attaching video files showing working / non working scenarios.

        MouseOutAndTab.avi - demonstrating working "on blur" submit

        PressingEnter.avi - demonstrating issue when the value is submitted via Enter key.

        Show
        Evgheni Sadovoi added a comment - Attaching video files showing working / non working scenarios. MouseOutAndTab.avi - demonstrating working "on blur" submit PressingEnter.avi - demonstrating issue when the value is submitted via Enter key.
        Evgheni Sadovoi made changes -
        Attachment MouseOutAndTab.avi [ 15493 ]
        Attachment PressingEnter.avi [ 15494 ]
        Evgheni Sadovoi made changes -
        Attachment edited_error.log [ 15495 ]
        Mircea Toma made changes -
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33835 Thu Mar 07 14:14:30 MST 2013 mircea.toma ICE-9002 Intoduced new icecore:submitOnEnter tag that can be used to enclosed input components that would have their submit on enter feature enabled ort disabled.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/renderkit/html_basic/SubmitOnEnterRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33836 Thu Mar 07 14:17:31 MST 2013 mircea.toma ICE-9002 Removed try/catch statement.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js
        Hide
        Mircea Toma added a comment -

        Introduced new icecore:submitOnEnter tag that can be used to enclosed input components that would have their submit on enter feature enabled ort disabled.

        Show
        Mircea Toma added a comment - Introduced new icecore:submitOnEnter tag that can be used to enclosed input components that would have their submit on enter feature enabled ort disabled.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Affects Documentation (User Guide, Ref. Guide, etc.) [ 10003 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.3 [ 10370 ]
        Hide
        Mircea Toma added a comment -

        Add wiki documentation!

        Show
        Mircea Toma added a comment - Add wiki documentation!
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: