Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Netbeans5.5 w VWP, Tomcat 5.5.20
Description
When using requestFocus on an instance of ice:selectOneMenu the following error appears in the Firebug console
[window] Failed to set focus on [memberEditForm:selectOneGroup] TypeError: id.asExtendedElement().focus is not a function
Equivalent to string reported in http://jira.icefaces.org/browse/ICE-171
[window] Failed to set focus on [memberEditForm:selectOneGroup] TypeError: id.asExtendedElement().focus is not a function
Equivalent to string reported in http://jira.icefaces.org/browse/ICE-171
After considering all possible options I found out the Alexander's suggestion most appropreate to fix this bug. As the line 166 of the radioRenderer promises to prodduce the id of the first radio element using the following pattern:
clientid + ":_id" + index (1)
It also allows to use the predefined focus API.
revision: 15979