Since 4.0
You can use the icecore:focusManager tag to manage where focus will be applied on page load.
The focus manager provides the following automatic focus setting features when it is included inside a form component:
To use the icecore:focusManager tag, first declare the core namespace:
<html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">
Then add the tag to your page enclosing the components that you want to have the focus managed:
<h:body>
...
<icecore:focusManager>
....
<h:form>
<h:inputText .../>
<h:inputText .../>
....
....
<ace:autoCompleteEntry ..../>
</h:form>
....
</icecore:focusManager>
...
</h:body>
Example using the "for" attribute:
<h:form id="form">
...
<icecore:focusManager for="A">
<h:inputText .../>
<h:inputText id="A" .../>
....
....
<ace:autoCompleteEntry ..../>
</icecore:focusManager>
...
</h:form>
TagLib Documentation*
This section covers attributes involved in the typical use-cases for this component.
for Use this attribute to specify the ID of the component that will receive focus.