<components><component><name>org.richfaces.Focus</name><family>org.richfaces.Focus</family><classname>org.richfaces.component.html.HtmlFocus</classname><superclass>org.richfaces.component.UIFocus</superclass><description><![CDATA[Puts focus on rendered field. In case of text inputs it's content is selected. If you use it with i.e. radio use suffix attribute. ]]></description>
<property><name>for</name><classname>java.lang.String</classname><description> Id of component that should be focused</description><defaultvalue>""</defaultvalue></property><property><name>priority</name><classname>java.lang.Integer</classname><description>
<name>targetClientId</name><classname>java.lang.String</classname><description> If some other element then the one matching clintId of target component should be focused and it cannot be achieved with suffix, use this attribute.</description><defaultvalue>""</defaultvalue></property><property>
Moment when focus should be put. The possible values are "onJScall" and "onload". If "onJScall" is used then you must manually call Richfaces.FocusManager.focus(). The default value is "onload".