<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

<f:subview id="DataScrollerSubviewID">
		<h:dataTable id="dataTableId" value="#{dataScroller.dataTable}"
			var="dT" cellpadding="5px" rows="5" border="1">
			<f:facet name="header">
				<rich:datascroller fastControls="#{dataScroller.fastControls}"
					align="#{dataScroller.align}" rendered="#{dataScroller.render}"
					limitToList="#{dataScroller.limitToList}"
					renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
					maxPages="#{dataScroller.maxPages}" 
					scrollerListener="#{dataScroller.ScrollerListener}" 
					onclick="print('onclickInputID', 'onclick work!')" oncomplete="print('oncompleteInputID', 'oncomplete work!')"
					ondblclick="print('ondblclickInputID', 'ondblclick work!')" onkeydown="print('onkeydownInputID', 'onkeydown work!')"
					onkeypress="print('onkeypressInputID', 'onkeypress work!')"
					onkeyup="print('onkeyupInputID', 'onkeyup work!')" onmousedown="print('onmousedownInputID', 'onmousedown work!')"
					onmousemove="print('onmousemoveInputID', 'onmousemove work!')" onmouseout="print('onmouseoutInputID', 'onmouseout work!')" 
					onmouseover="print('onmouseoverInputID', 'onmouseover work!')" onmouseup="print('onmouseupInputID', 'onmouseup work!')"/>
			</f:facet>
			<h:column>
				<h:outputText value="#{dT.data0}" />
			</h:column>
			<h:column>
				<h:outputText value="#{dT.data1}" />
			</h:column>
		</h:dataTable>
</f:subview>
