Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
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.
#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 ] |
This was fixed in Revision #13239
We added a FocusEffect class:
public class FocusEffect extends Effect {
@Override
{ return "Ice.Focus.setFocus"; }public String getFunctionName()
}
VisitorBean's buildEffect() method had the following added:
loginPopupEffect.setSequence("a");
loginPopupEffect.setSequenceId(1);
inputEffect = new FocusEffect();
inputEffect.setSequence("a");
inputEffect.setSequenceId(2);
The new effect is applied to the appropriate inputText component.
The previous code finding the component through it's id was removed.
This is ready to be closed