focusModifier.xml 2.69 KB
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
        "http://labs.jboss.com/jbossrichfaces/component-config.dtd" >
<components>
    <component>
        <name>org.richfaces.FocusModifier</name>
        <family>org.richfaces.FocusModifier</family>
        <classname>org.richfaces.component.html.HtmlFocusModifier</classname>
        <superclass>org.richfaces.component.UIFocusModifier</superclass>
        <description>
            <![CDATA[
                    Provides info for focus component used to modify clientId to focus.
             ]]>
        </description>
        <renderer generate="false" override="false">
            <name>org.richfaces.FocusModifierRenderer</name>
            <classname>org.richfaces.renderkit.html.HtmlFocusModifierRenderer</classname>
        </renderer>
        <tag>
            <name>focusModifier</name>
            <classname>org.richfaces.taglib.FocusModifierTag</classname>
            <superclass>
                org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
            </superclass>
            <test>
                <classname>org.richfaces.taglib.HtmlFocusModifierTagTest</classname>
                <superclassname>org.ajax4jsf.tests.AbstractJspTestCase</superclassname>
            </test>
        </tag> &ui_component_attributes;
        <property>
            <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>
            <name>suffix</name>
            <classname>java.lang.String</classname>
            <description>
                Suffix added to clientId. Useful for focusing radio elements. Example : suffix=":0" puts focu on first radio if target is radio.
            </description>
            <defaultvalue>""</defaultvalue>
        </property>
        <property>
            <name>priority</name>
            <classname>java.lang.Integer</classname>
            <description>
                If there are more components requesting focus, then component with lowest priority will be focused.
            </description>
        </property>
        <property>
            <name>skipped</name>
            <classname>boolean</classname>
            <description>
                If set to true, component will not be concerned when calculating default focus.
            </description>
            <defaultvalue>false</defaultvalue>
        </property>
    </component>
</components>