<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" version="2.0"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
    <faces-config-extension />
    <component>
        <component-type>org.richfaces.cdk.TestPanel</component-type>
        <description>Test panel generated by CDK</description>
        <display-name>Test Panel</display-name>
        <component-class>org.richfaces.cdk.component.UITestPanel</component-class>
        <facet>
            <facet-name>header</facet-name>
            <description>Panel header content.</description>
        </facet>
        <xi:include xpointer="xmlns(cdk=http://jboss.org/schema/richfaces/cdk/extensions)xpointer(/cdk:properties/*)"
            href="urn:attributes:javax.faces.component.UIPanel.xml" />
        <property>
            <property-name>title</property-name>
            <property-class>java.lang.String</property-class>
            <suggested-value>Title</suggested-value>
            <default-value>"No title"</default-value>
            <property-extension>
                <cdk:generate>true</cdk:generate>
                <cdk:literal>false</cdk:literal>
            </property-extension>
        </property>
        <component-extension>
            <cdk:generate>true</cdk:generate>
            <cdk:component-family>org.richfaces.cdk.TestPanel</cdk:component-family>
            <cdk:base-class>org.richfaces.cdk.component.AbstractTestPanel</cdk:base-class>
            <cdk:renderer>
                <cdk:renderer-type>org.richfaces.cdk.TestPanelRenderer</cdk:renderer-type>
                <cdk:tag>
                    <cdk:tag-name>testPanel</cdk:tag-name>
                    <cdk:tag-handler>
                        <cdk:handler-class></cdk:handler-class>
                        <cdk:base-class></cdk:base-class>
                        <cdk:generate>true</cdk:generate>
                    </cdk:tag-handler>
                </cdk:tag>
            </cdk:renderer>
        </component-extension>
    </component>
    <component>
        <component-type>org.richfaces.cdk.HtmlTestPanel</component-type>
        <description>Html panel generated by CDK</description>
        <display-name>Html Test Panel</display-name>
        <component-class>org.richfaces.cdk.component.html.HtmlTestPanel</component-class>
        <xi:include xpointer="xmlns(cdk=http://jboss.org/schema/richfaces/cdk/extensions)xpointer(/cdk:properties/*)"
            href="urn:attributes:events-props.xml" />
        <property>
            <property-name>onheaderclick</property-name>
            <property-class>java.lang.String</property-class>
            <property-extension>
                <cdk:generate>true</cdk:generate>
                <cdk:event-name>headerclick</cdk:event-name>
                <cdk:event-name default="true">action</cdk:event-name>
            </property-extension>
        </property>
        <component-extension>
            <cdk:generate>true</cdk:generate>
            <cdk:base-class>org.richfaces.cdk.component.UITestPanel</cdk:base-class>
            <cdk:renderer-type>org.richfaces.TestPanelRenderer</cdk:renderer-type>
        </component-extension>
    </component>
    <render-kit>
        <renderer>
            <description>Java renderer for test panel</description>
            <component-family>org.richfaces.cdk.TestPanel</component-family>
            <renderer-type>org.richfaces.SimplePanelRenderer</renderer-type>
            <renderer-class>org.richfaces.cdk.renderkit.SimpleTestRenderer</renderer-class>
            <renderer-extension>
                <cdk:renders-children>true</cdk:renders-children>
                <cdk:tag>
                    <cdk:tag-name>simple</cdk:tag-name>
                    <cdk:tag-handler>
                        <cdk:handler-class></cdk:handler-class>
                        <cdk:base-class></cdk:base-class>
                        <cdk:generate>true</cdk:generate>
                    </cdk:tag-handler>
                </cdk:tag>
            </renderer-extension>
        </renderer>
    </render-kit>
</faces-config>
