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

        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: