ICEfaces
  1. ICEfaces
  2. ICE-9295

Double submission occurs when pressing enter on ice:inputSecret w/ actionListener

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2, EE-3.2.0.GA
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.2, 3.2EE, latest trunk (revision# 35623)
      All browsers
    • Assignee Priority:
      P2

      Description

      When using the Enter key on an ice:inputSecret with an actionListener the submission is triggered twice. This can be easily reproduced in the attached application by pressing enter on the password field, in the logs you will see:
      Login triggered!
      Login triggered!
      1. ICE-9295.rar
        9.86 MB
        Cruz Miraback

        Activity

        Cruz Miraback created issue -
        Cruz Miraback made changes -
        Field Original Value New Value
        Attachment ICE-9295.rar [ 15987 ]
        Cruz Miraback made changes -
        Comment [ war and source ]
        Cruz Miraback made changes -
        Description When using the Enter key on an ice:inputSecret the submission is triggered twice. This can be easily reproduced in the attached application by pressing enter on the password field, in the logs you will see:
        Login triggered!
        Login triggered!
        When using the Enter key on an ice:inputSecret with an actionListener the submission is triggered twice. This can be easily reproduced in the attached application by pressing enter on the password field, in the logs you will see:
        Login triggered!
        Login triggered!
        Cruz Miraback made changes -
        Summary Double submission occurs when using ice:inputSecret w/ actionListener and pressing enter to submit Double submission occurs when pressing enter on ice:inputSecret w/ actionListener
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36206 Thu Jun 13 09:49:51 MDT 2013 art.zambrano ICE-9295 added onkeypress script to cancel enter key event, in order to avoid double submission
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/SecretRenderer.java
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 36206. Added onkeypress script to cancel enter key events, in order to avoid double submission, just like ice:inputText does.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 36206. Added onkeypress script to cancel enter key events, in order to avoid double submission, just like ice:inputText does.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA [ 10572 ]
        Hide
        Arturo Zambrano added a comment -

        Committed fix to 3.3 EE tag at revision 36216.

        Show
        Arturo Zambrano added a comment - Committed fix to 3.3 EE tag at revision 36216.
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: