<?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 universal_html_attributes   SYSTEM "html_universal_attributes.xml">	
]>

<components>
     	<component>
		<name>org.ajax4jsf.Poll</name>
		<family>org.ajax4jsf.components.AjaxPoll</family>
		<classname>org.ajax4jsf.component.html.AjaxPoll</classname>
		<superclass>org.ajax4jsf.component.UIPoll</superclass>
		<test />
		<description>
			Periodically perform AJAX request to server, to simulate
			'poll' data.
			<br />
		</description>
		<displayname>Ajax Poll</displayname>
		<icon>icon</icon>
		<renderer generate="false" override="false">
			<name>org.ajax4jsf.components.AjaxPollRenderer</name>
			<classname>
				org.ajax4jsf.renderkit.html.AjaxPollRenderer
			</classname>
			<!-- 
				<superclass>javax.faces.renderer.Renderer</superclass>
			-->
			<description>
				Perform functions for decoding AJAX requests and
				building client script for events.
			</description>
			<displayname>renderer for Ajax Poll</displayname>
			<icon>icon</icon>
		</renderer>
		<tag>
			<name>poll</name>
			<classname>org.ajax4jsf.taglib.html.jsp.AjaxPollTag</classname>
			<superclass>
				org.ajax4jsf.webapp.taglib.UIComponentTagBase
			</superclass>
			<test />
			<displayname>Ajax Poll</displayname>
			<icon>icon</icon>
		</tag>
		<taghandler>
			<classname>org.ajax4jsf.webapp.taglib.AjaxComponentHandler</classname>
		</taghandler>
		&ui_component_attributes;
		&ui_command_attributes;
		&ajax_component_attributes;
		<property>
			<name>actionExpression</name>
			<classname>java.lang.String</classname>
			<description>The action method binding expression.</description>
		</property>			
		<property>
			<name>onsubmit</name>
			<classname>java.lang.String</classname>
			<description>
				JavaScript code for call before submission of ajax
				event
			</description>
		</property>
		<property>
			<name>interval</name>
			<classname>int</classname>
			<description>
				Interval (in ms) for call poll requests. Default value
				1000 (1 sec)
			</description>
			<defaultvalue>1000</defaultvalue>
		</property>
		<property>
			<name>enabled</name>
			<classname>boolean</classname>
			<description>
				<![CDATA[Enable/disable polling]]>
			</description>
			<defaultvalue>true</defaultvalue>
		</property>
		<property hidden="true">
			<name>value</name>
			<classname>java.lang.Object</classname>
		</property>
		<property hidden="true">
			<name>submitted</name>
			<classname>boolean</classname>
		</property>
		<property hidden="true">
			<name>requestDelay</name>
			<classname>int</classname>
		</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>
		</property>
		<property>
			<name>timeout</name>
			<classname>int</classname>
			<description>Timeout (in ms) for request</description>
		</property>
	</component>     
</components>