ICEfaces
  1. ICEfaces
  2. ICE-1065

requestFocus and 'enter' key (failure to submit)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC

      Description

      This was found in WebMC, but looks like a global issue. Basically if
      requestFocus is called on an inputText component, then the 'enter' key is
      pressed in the newly focused field, the enter key does not submit the field. The
      user has to click outside of the text field, then back inside the text field,
      before the enter key will work again.

      1. Bind a page level inputText component to a bean (in this case the inputText
      had an actionListener so it would submit on enter)
      2. Call requestFocus on the bound component
      3. Try to press the enter key in the text field, it will not perform the submit

        Activity

        Hide
        Greg McCleary added a comment -

        This bug appears to be fixed in the HEAD.
        I am able to run my testcase successfully.
        Carlo, please verify with your testcase and/or WebMC.

        Show
        Greg McCleary added a comment - This bug appears to be fixed in the HEAD. I am able to run my testcase successfully. Carlo, please verify with your testcase and/or WebMC.
        Hide
        Greg McCleary added a comment -

        fixed in [rev 12640]

        Show
        Greg McCleary added a comment - fixed in [rev 12640]
        Hide
        Greg McCleary added a comment -

        Verified/tested against Icefaces 1.5.2

        Show
        Greg McCleary added a comment - Verified/tested against Icefaces 1.5.2

          People

          • Assignee:
            Greg McCleary
            Reporter:
            Carlo Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: