ICEfaces
  1. ICEfaces
  2. ICE-1123

requestFocus() not Working with Appear Effect

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6DR#1, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      I have added Appear/Fade effects to the login popup for icefaces.org (See bug
      #1084 for details). The following method is used to open the login popup and
      request focus on the first inputText component.

          public void openLogin(ActionEvent ae) {
              openLogin("ui");
              HtmlInputText toFocus = findUserNameField(ae.getComponent().getParent
      ());
              if (toFocus != null) {
                  toFocus.requestFocus();
              }
          }

      I have checked to make sure this method is getting the appropriate inputText
      component and calling requestFocus() on the component - it is. The initial
      firing of the effect appears to be blocking the focus being set on the
      component. If you hit the login link a second time, the component will gain
      focus.

        Activity

        Brad Kroeger created issue -
        Icefaces Administrator made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 1167 12392
        Ken Fyten made changes -
        Assignee Rob Mayhew [ rob.mayhew ]
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Assignee Priority P2
        Assignee Rob Mayhew [ rob.mayhew ]
        Rob Mayhew made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s 1.6DR#1 [ 10035 ]
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Rob Mayhew [ rob.mayhew ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: