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

        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.
        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.
        Hide
        Mircea Toma added a comment -

        Add wiki documentation!

        Show
        Mircea Toma added a comment - Add wiki documentation!

          People

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

            Dates

            • Created:
              Updated:
              Resolved: