<?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" >

<components>
  <component>
    <name>org.richfaces.ToolBar</name>
    <family>org.richfaces.ToolBar</family>    
    <classname>org.richfaces.component.html.HtmlToolBar</classname>
    <superclass>org.richfaces.component.UIToolBar</superclass>
		<test>
			<classname>org.richfaces.component.html.HtmlToolBarComponentTest</classname>
			<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
		</test>
    <description>
		<![CDATA[A horizontal bar with Action items on it that accepts any JSF components as children.]]>
	</description>
	
    <renderer generate="true" override="true">
      <name>org.richfaces.ToolBarRenderer</name>
      <template>toolBar.jspx</template>
    </renderer>
    
    <tag>
      <name>toolBar</name>
      <classname>org.richfaces.taglib.ToolBarTag</classname>
      <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
	  <description>
	  	<![CDATA[A horizontal bar with items on it. 
		If you want to use it as a standard top tool bar, point to each item with a ch:menu "for" attribute
		to link the appropriate drop-down menu with the item id on a tool bar.
		"toolBar" accepts any JSF components as children. They appear from left to right 
		in the definition order. The children are separated from each other basing on the value of the
		"itemSeparator" attribute. If you want to put the items along the right side for a menu bar,
		you can use the "toolBarGroup" component as a wrapper and define the "location" attribute
		there. The items inside the group can have their own separator. See the "toolBarGroup" component description for details.]]>
	  </description>
    </tag>
    
    <property>
    	<name>width</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA[A width of a bar that can be defined in pixels or as percentage. The default value is 100%.]]>
    	</description>
    	<defaultvalue>
    		<![CDATA["100%"]]>
    	</defaultvalue>
    </property>
    <property>
    	<name>height</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA[A height of a bar in pixels. If a height is not defined,
    		a bar height depends of the "headerFontSize" skin parameter.]]>
    	</description>
    </property>
    <property>
    	<name>itemSeparator</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA[A separator between items on a bar. Possible values
    		are none, line, square, disc and grid.]]>
    	</description>
    	<defaultvalue>
    		<![CDATA["none"]]>
    	</defaultvalue>
    </property>
    <property>
    	<name>separatorClass</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA[A CSS class to be applied to tool bar separators.]]>
    	</description>
    </property>
    <property>
    	<name>contentClass</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA[A CSS style is to be applied to each element of tool bar content. 
    		Use this style, for example, to setup parameters of the font.]]>
    	</description>
    </property>
    <property>
    	<name>contentStyle</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA[A CSS style is to be applied to each element of tool bar content.]]>
    	</description>
    </property>
    
    &ui_component_attributes;
    &html_style_attributes;    
  </component>
  
  <component>
    <name>org.richfaces.ToolBarGroup</name>
    <family>org.richfaces.ToolBar</family>
    <superclass>org.richfaces.component.UIToolBarGroup</superclass>
    <classname>org.richfaces.component.html.HtmlToolBarGroup</classname>
		<test>
			<classname>org.richfaces.component.html.HtmlToolBarGroupComponentTest</classname>
			<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
		</test>
    <description>
		<![CDATA[The ToolBarGroup component description.]]>
	</description> 
	   
    <renderer>
      <name>org.richfaces.ToolBarGroupRenderer</name>
      <classname>org.richfaces.renderkit.html.ToolBarGroupRenderer</classname>
      <!-- template>toolBarGroup.jspx</template-->
    </renderer>    
    <description>
    	<![CDATA[A group of items inside a tool bar. The group item
	    is separated basing on the "itemSeparator" attribute. Location of a group
	    on a tool bar is set up with the "location" attribute.]]>
	</description>
    <tag>
      <name>toolBarGroup</name>
      <classname>org.richfaces.taglib.ToolBarGroupTag</classname>
      <superclass>org.ajax4jsf.webapp.taglib.UIComponentTagBase</superclass>
    </tag>
    
    <property>
    	<name>itemSeparator</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA["A separator for the items in a group. Possible
	    	values are "none", "line", "square", "disc" and "grid"."]]>
    	</description>
    	<defaultvalue>
    		<![CDATA["none"]]>
    	</defaultvalue>    	
    </property>
    <property>
    	<name>separatorClass</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA["A CSS class to be applied to tool bar group separators."]]>
    	</description>    	
    </property>
    <property>
    	<name>location</name>
    	<classname>java.lang.String</classname>
    	<description>
    		<![CDATA["A location of a group on a tool bar. Possible values are "left" and "right"."]]>
    	</description>
    	<defaultvalue>
    		<![CDATA["left"]]>
    	</defaultvalue>    	
    </property>
        
	&ui_component_attributes;
    &html_style_attributes;    
    &html_events;
  </component>  
</components>
