<?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" 
[
<!ENTITY listeners SYSTEM "commonDataScrollerListeners.ent">
]
>
<components>
	<component>
		<name>org.richfaces.Datascroller</name>
		<family>org.richfaces.Datascroller</family>
		<classname>org.richfaces.component.html.HtmlDatascroller</classname>
		<superclass>org.richfaces.component.UIDatascroller</superclass>
		<test>
			<classname>org.richfaces.component.html.HtmlDatascrollerComponentTest</classname>
			<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
		</test>
		<description>
			<![CDATA[
    ]]>
		</description>
		
		<renderer  generate="true" override="true">
			<name>org.richfaces.DataScrollerRenderer</name>
			<template>org/richfaces/htmlDatascroller.jspx</template>
		</renderer>
		
      


		<tag>
			<name>datascroller</name>
			<classname>org.richfaces.taglib.DatascrollerTag</classname>
			<superclass>
				org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
			</superclass>
		</tag>

        <taghandler generate="true">
            <classname>org.richfaces.taglib.DataScrollerTagHandler</classname>
            <superclass>com.sun.facelets.tag.jsf.ComponentHandler</superclass>
        </taghandler>

		<!--
		<taghandler>
			<classname>org.ajax4jsf.tag.TestHandler</classname>
		</taghandler>
		-->

        &ui_component_attributes;
        &html_events;
        &html_style_attributes;

        &ui_command_attributes;
        &ajax_component_attributes;
        &html_event_handler_attributes;

	&ui_component_attributes;
		
		<property>
			<name>id</name>
			<classname>java.lang.String</classname>
			<description>Every component may have a unique id that is automatically created if omitted
			</description>
		</property>

		<property>
			<name>handleValue</name>
			<classname>java.lang.String</classname>
			<description>Current handle value
			</description>
		</property>

		<property>
			<name>binding</name>
			<classname>java.lang.String</classname>
			<description>The attribute takes a value-binding expression for a component property of a backing bean
			</description>
		</property>

		<property>
			<name>scrollerListener</name>
			<classname>javax.faces.el.MethodBinding</classname>
			<description>MethodBinding representing an action listener method that will be notified after scrolling
			</description>
		</property>

		<property>
			<name>rendered</name>
			<classname>java.lang.String</classname>
			<description>If "false", this component is not rendered</description>
		</property>
		<property>
			<name>for</name>
			<classname>java.lang.String</classname>
			<description>ID of the table component whose data is scrollled
			</description>
		</property>
		<property>
			<name>selectedStyle</name>
			<classname>java.lang.String</classname>
			<description>Corresponds to the HTML style attribute for the selected cell on scroller
			</description>
		</property>
		<property>
			<name>inactiveStyle</name>
			<classname>java.lang.String</classname>
			<description>Corresponds to the HTML style attribute for the inactive cell on scroller
			</description>
		</property>
		<property>
			<name>selectedStyleClass</name>
			<classname>java.lang.String</classname>
			<description>Corresponds to the HTML class attribute for the selected cell on scroller
			</description>			
		</property>
		<property>
			<name>inactiveStyleClass</name>
			<classname>java.lang.String</classname>
			<description>Corresponds to the HTML class attribute for the inactive cell on scroller
			</description>			
		</property>
		<property>
			<name>tableStyleClass</name>
			<classname>java.lang.String</classname>
			<description>Space-separated list of CSS style class(es) that are be applied to outside table of this component
			</description>
		</property>
		<property>
			<name>tableStyle</name>
			<classname>java.lang.String</classname>
			<description>CSS style(s) is/are to be applied to outside table when this component is rendered
			</description>
		</property>

		<property>
			<name>styleClass</name>
			<classname>java.lang.String</classname>
			<description>Corresponds to the HTML class attribute
			</description>
		</property>

		<property>
			<name>style</name>
			<classname>java.lang.String</classname>
			<description>CSS style(s) is/are to be applied when this component is rendered
			</description>			
		</property>

		<property>
			<name>maxPages</name>
			<classname>int</classname>
			<description>
			Maximum quantity of pages
			</description>
			<defaultvalue>10</defaultvalue>
		</property>

		<property>
			<name>renderIfSinglePage</name>
			<classname>boolean</classname>
			<description>
			 If renderIfSinglePage=true then datascroller is displayed on condition that the data hold on one page
			</description>
			<defaultvalue>true</defaultvalue>
		</property>
		<property>
			<name>requestDelay</name>
			<classname>int</classname>
			<description>
Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
			</description>
		</property>		
		<property>
			<name>fastStep</name>
			<classname>int</classname>
			<description>
				The attribute indicates pages quantity to switch onto when fast scrolling is used
			</description>
			<defaultvalue>0</defaultvalue>
		</property>
		
		<property>
			<name>immediate</name>
			<classname>boolean</classname>
			<description>A flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase
			</description>
		</property>




		<property>
			<name>ignoreDupResponses</name>
			<classname>boolean</classname>
			<description>
Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
but just allows to avoid unnecessary updates on the client side if the response isn't actual now			
			</description>
			<defaultvalue>true</defaultvalue>
		</property>
		<property>
			<name>eventsQueue</name>
			<classname>java.lang.String</classname>
			<description>Name of requests queue to avoid send next request before complete other from same event. Can be used to reduce number of requests of frequently events (key press, mouse move etc.)
			</description>
		
		</property>
		<property>
			<name>ajaxSingle</name>
			<classname>boolean</classname>
			<description>If "true", submits ONLY one field/link, instead of all form controls
			</description>
			<defaultvalue>true</defaultvalue>
		</property>
		<property>
			<name>align</name>
			<classname>java.lang.String</classname>
			<description>
			left|center|right [CI] Deprecated. This attribute specifies the position of the table with respect to the document. Permitted values: * left: The table is to the left of the document. * center: The table is to the center of the document. * right: The table is to the right of the document	
			</description>
			<defaultvalue>"center"</defaultvalue>
		</property>
		<property>
			<name>boundaryControls</name>
			<classname>java.lang.String</classname>
			<description>
Possible values are: "show" - default mode. Controls are visible always. 
"hide" - controls are hidden. 
"auto" - unnecessary controls are hidden
			</description>
			<defaultvalue><![CDATA["show"]]></defaultvalue>			
		</property>
		<property>
			<name>fastControls</name>
			<classname>java.lang.String</classname>
			<description>
Possible values are: "show" - default mode. Controls are visible always. 
"hide" - controls are hidden. 
"auto" - unnecessary controls are hidden
			</description>
			<defaultvalue><![CDATA["show"]]></defaultvalue>			
		</property>
		
		<property>
			<name>stepControls</name>
			<classname>java.lang.String</classname>
			<description>
Possible values are: "show" - default mode. Controls are visible always. 
"hide" - controls are hidden. 
"auto" - unnecessary controls are hidden			
			</description>
			
			<defaultvalue><![CDATA["show"]]></defaultvalue>			
		</property>
		
		<property>
			<name>actionExpression</name>
			<classname>java.lang.String</classname>
			<description>The action method binding expression</description>
		</property>	
		
		
		<property hidden="true">
			<name>firstRow</name>
			<classname>java.lang.String</classname>
		</property>

		<property hidden="true">
			<name>page</name>
			<classname>java.lang.String</classname>
		</property>
		
		<property>
			<name>pageIndexVar</name>
			<classname>java.lang.String</classname>
			<description>Name of variable in request scope containing index of active page</description>
		</property>	

		<property>
			<name>pagesVar</name>
			<classname>java.lang.String</classname>
			<description>Name of variable in request scope containing number of pages</description>
		</property>	

	</component>
    &listeners;	
</components>
