<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"  "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
<!-- 
<!DOCTYPE components PUBLIC "-//EXADEL//Generator config/EN"  "http://exadel.com/dtds/component-config.dtd" >
 -->
<components>
	<component>
		<name>org.richfaces.TabPanel</name>
		<family>org.richfaces.TabPanel</family>
		<classname>org.richfaces.component.html.HtmlTabPanel</classname>
		<superclass>org.richfaces.component.UITabPanel</superclass>
		<test>
			<classname>org.richfaces.component.html.HtmlTabPanelComponentTest</classname>
			<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
		</test>
		<description>
			<![CDATA[A tab panel displaying tabs for grouping content of a panel.
    ]]>
		</description>
		<renderer generate="true" override="true">
			<name>org.richfaces.TabPanelRenderer</name>
			<template>tabPanel.jspx</template>
		</renderer>
		<tag>
			<name>tabPanel</name>
			<classname>org.richfaces.taglib.TabPanelTag</classname>
			<superclass>org.richfaces.taglib.TabPanelTagBase</superclass>
		</tag>
		<taghandler generate="true">
			<classname>org.richfaces.taglib.TabPanelTagHandler</classname>
			<superclass>org.richfaces.taglib.TabPanelTagHandlerBase</superclass>
		</taghandler>
	    <property>
	    	<name>converterMessage</name>
	    	<classname>java.lang.String</classname>
	    	<description>
			A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter
			</description>
	    </property>
	    <property>
	    	<name>requiredMessage</name>
	    	<classname>java.lang.String</classname>
	    	<description>
			A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used
			</description>
	    </property>
	    <property>
	    	<name>validatorMessage</name>
	    	<classname>java.lang.String</classname>
	    	<description>
			 	A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator
			</description>
	    </property>			
		<property>
	    	<name>width</name>
	    	<classname>java.lang.String</classname>
	    	<description>Width of a tab panel defined in pixels or in percents. 
	    	The default value is 100%</description>
	    </property>
	    <property>
	    	<name>height</name>
	    	<classname>java.lang.String</classname>
	    	<description>Height of a tab panel defined in pixels or in percents</description>
	    </property>
	    <property>
	    	<name>switchType</name>
	    	<classname>java.lang.String</classname>
	      <description><![CDATA[Tab switch algorithm: "client", "server"(default), "ajax"]]></description>
	    	<defaultvalue>DEFAULT_METHOD</defaultvalue>
	    </property>
 		<property hidden="true" >
			<name>localValueSet</name>
		</property>
		<property hidden="true" >
			<name>valid</name>
		</property>
	    <property>
	    	<name>tabClass</name>
	    	<classname>java.lang.String</classname>
	      	<description>A CSS class to be applied to all tabs</description>
	    </property>
		<property exist="true" existintag="true">
			<name>selectedTab</name>
			<classname>java.lang.Object</classname>
			<description>Attribute defines name of selected tab</description>
		</property>		
	    <property>
	    	<name>activeTabClass</name>
	    	<classname>java.lang.String</classname>
	      	<description>A CSS class to be applied to an active tab</description>
	    </property>
	    <property>
	    	<name>inactiveTabClass</name>
	    	<classname>java.lang.String</classname>
	      	<description>CSS class to be applied to an inactive (but not disabled) tab</description>
	    </property>
	    <property>
	    	<name>disabledTabClass</name>
	    	<classname>java.lang.String</classname>
	      	<description>A CSS class to be applied to a disabled tab</description>
	    </property>
	    <property>
	    	<name>contentStyle</name>
	    	<classname>java.lang.String</classname>
	    	<description>A CSS style is for the content of a tab panel</description>
	    </property>
	    <property>
	    	<name>contentClass</name>
	    	<classname>java.lang.String</classname>
	    	<description>A CSS class for content of a tab panel</description>
	    </property>
	    <property>
	    	<name>headerAlignment</name>
	    	<classname>java.lang.String</classname>
	    	<description>Sets tab headers alignment. It can be "left" or "right".
	    	"left" is used by default
	    	</description>
			<defaultvalue>"left"</defaultvalue>
	    </property>
	    <property>
	    	<name>headerSpacing</name>
	    	<classname>java.lang.String</classname>
	    	<description>Sets tab headers spacing. It should be a valid size unit expression
	    	</description>
			<defaultvalue>"1px"</defaultvalue>
	    </property>
		<property>
	    	<name>headerClass</name>
	    	<classname>java.lang.String</classname>
	    	<description>A CSS style is for the header of a tab panel.
	    	</description>
	    </property>
	    <property hidden="true">
	    	<name>renderedValue</name>
	    	<classname>java.lang.Object</classname>
	    	<description></description>
	    </property>

	    &html_attributes;
	    &html_events;
		&ui_component_attributes;
		&ui_input_attributes;
	</component>
	
	<component generate="true">
		<name>org.richfaces.Tab</name>
		<family>org.richfaces.Tab</family>
		<classname>org.richfaces.component.html.HtmlTab</classname>
		<superclass>org.richfaces.component.UITab</superclass>
		<test>
			<classname>org.richfaces.component.html.HtmlTabComponentTest</classname>
			<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
		</test>
		<description>
			<![CDATA[A tab section within a tab panel]]>
		</description>
		<renderer generate="true" override="true">
			<name>org.richfaces.TabRenderer</name>
			<template>tab.jspx</template>
		</renderer>
		<tag>
			<name>tab</name>
			<classname>org.richfaces.taglib.TabTag</classname>
			<superclass>
				org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
			</superclass>
		</tag>

    	&html_style_attributes;
		&ui_component_attributes;
		&ui_command_attributes;
		&ajax_component_attributes;
		&html_event_handler_attributes;	
	    <property hidden="true">
	    	<name>value</name>
	    	<classname>java.lang.Object</classname>
	    </property>
		<property>
			<name>actionExpression</name>
			<classname>java.lang.String</classname>
			<description>The action method binding expression</description>
		</property>		
	    <property>
	    	<name>name</name>
	    	<classname>java.lang.Object</classname>
	    	<description>Attribute defines tab name</description>
	    	<defaultvalue>getId()</defaultvalue>
	    </property>
	    <property >
	    	<name>disabled</name>
	    	<classname>boolean</classname>
	    	<description>Disables a tab in a tab panel</description>
	    </property>
	    <property>
	    	<name>label</name>
	    	<classname>java.lang.String</classname>
	    	<description>Text for the actual "tab" in a tab section</description>
	    </property>
		<property>
			<name>title</name>
			<classname>java.lang.String</classname>
			<description>HTML: An advisory title for this element. Often displayed as a tooltip</description>
		</property>		
	    <property>
	    	<name>labelWidth</name>
	    	<classname>java.lang.String</classname>
	    	<description>Length for the actual "tab" in a tab section defined in pixels. If it is not defined, the
	    	length is calculated basing on a tab label text length</description>
	    </property>
	    <property>
	    	<name>switchType</name>
	    	<classname>java.lang.String</classname>
	    	<description>Tab switch algorithm: "client", "server", "ajax", "page"</description>
	    </property>
	    <property hidden="true">
	    	<name>active</name>
	    	<classname>boolean</classname>
	    </property>
        <property>
            <name>ontableave</name>
            <classname>java.lang.String</classname>
            <description>
                Event must occurs on the tab which has been left 
            </description>
            <defaultvalue><![CDATA[""]]></defaultvalue>
        </property>
        <property>
            <name>ontabenter</name>
            <classname>java.lang.String</classname>
            <description>
                Event must occurs on the tab which has been entered 
            </description>
            <defaultvalue><![CDATA[""]]></defaultvalue>
        </property>
  	</component>
	<renderer generate="true">
		<template>tabHeader.jspx</template>
	</renderer>
</components>
