Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.5.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
Description
The Wells Fargo demo application located at repo\applications\wells-fargo has
an ice:selectOneMenu component bound to a list of U.S. States. When the first
SelectItem value is initialized to "" and you attempt to tab into the
component, the focus is lost until you hit tab a second time. If the initial
value is a non-empty String, the tab focus behaves as expected.
If you wish to test with the application, replace the first line of the
CriteriaBean constructor with the following two lines, to have the first value
initialized to an empty String:
usStateList = new ArrayList(LocationLists.getNUMBER_USSTATES()+1);
usStateList.add(0,new SelectItem(""));
an ice:selectOneMenu component bound to a list of U.S. States. When the first
SelectItem value is initialized to "" and you attempt to tab into the
component, the focus is lost until you hit tab a second time. If the initial
value is a non-empty String, the tab focus behaves as expected.
If you wish to test with the application, replace the first line of the
CriteriaBean constructor with the following two lines, to have the first value
initialized to an empty String:
usStateList = new ArrayList(LocationLists.getNUMBER_USSTATES()+1);
usStateList.add(0,new SelectItem(""));
This is numero 3 on my priority list ... just let me know if this should be
moved to a higher priority.