<?xml version="1.0" encoding="UTF-8"?>
<!--
        JBoss, Home of Professional Open Source Copyright ${year}, Red Hat,
        Inc. and individual contributors by the @authors tag. See the
        copyright.txt in the distribution for a full listing of individual
        contributors. This is free software; you can redistribute it and/or
        modify it under the terms of the GNU Lesser General Public License as
        published by the Free Software Foundation; either version 2.1 of the
        License, or (at your option) any later version. This software is
        distributed in the hope that it will be useful, but WITHOUT ANY
        WARRANTY; without even the implied warranty of MERCHANTABILITY or
        FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
        License for more details. You should have received a copy of the GNU
        Lesser General Public License along with this software; if not, write
        to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
        Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
    -->
<cdk:properties xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee">
    <xi:include xpointer="xmlns(cdk=http://jboss.org/schema/richfaces/cdk/extensions)xpointer(/cdk:properties/*)"
        href="urn:attributes:javax.faces.component.UIComponent.xml" />

    <property>
        <description>
            Zero-relative row number of the first row to be displayed. If this
            property is set to zero, rendering will
            begin with the first row of
            the underlying data.
        </description>
        <display-name>First Row Index</display-name>
        <icon />
        <property-name>first</property-name>
        <property-class>int</property-class>
        <property-extension>
            <cdk:literal>false</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            Flag indicating whether there is model data available for the row
            selected by the current value of the
            "rowIndex" property.
        </description>
        <display-name>Row Available Flag</display-name>
        <icon />
        <property-name>rowAvailable</property-name>
        <property-class>boolean</property-class>
        <property-extension>
            <cdk:hidden>true</cdk:hidden>
            <cdk:literal>true</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            The number of rows of model data that are available for processing
            by this component. If the number of rows
            is unknown, this property
            will be set to -1.
        </description>
        <display-name>Row Count</display-name>
        <icon />
        <property-name>rowCount</property-name>
        <property-class>int</property-class>
        <property-extension>
            <cdk:hidden>true</cdk:hidden>
            <cdk:literal>true</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            An object representing the model data for the row selected by the
            current value of the "rowIndex" property.
        </description>
        <display-name>Row Data</display-name>
        <icon />
        <property-name>rowData</property-name>
        <property-class>java.lang.Object</property-class>
        <property-extension>
            <cdk:hidden>true</cdk:hidden>
            <cdk:literal>true</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            Zero-relative index of the currently selected row from the underlying
            model data. No error will occur if
            this property is set to point at
            a row for which no model data exists. To ensure data availability,
            check the state of
            the "rowAvailable" property after modifying this
            property.
        </description>
        <display-name>Row Index</display-name>
        <icon />
        <property-name>rowIndex</property-name>
        <property-class>int</property-class>
        <property-extension>
            <cdk:hidden>true</cdk:hidden>
            <cdk:literal>false</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            The number of rows to display, starting with the one identified by the
            "first" property. If this value is
            set to zero, all available rows in
            the underlying data model will be displayed.
        </description>
        <display-name>Rows To Display</display-name>
        <icon />
        <property-name>rows</property-name>
        <property-class>int</property-class>
        <property-extension>
            <cdk:literal>false</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            The current value of this component.
        </description>
        <display-name>Value</display-name>
        <icon />
        <property-name>value</property-name>
        <property-class>java.lang.Object</property-class>
        <property-extension>
            <cdk:literal>false</cdk:literal>
        </property-extension>
    </property>

    <property>
        <description>
            Name of a request-scope attribute under which the model data for the
            row selected by the current value of
            the "rowIndex" property (i.e.
            also the current value of the "rowData" property) will be exposed.
        </description>
        <display-name>Row Data Attribute</display-name>
        <icon />
        <property-name>var</property-name>
        <property-class>java.lang.String</property-class>
        <property-extension>
            <cdk:literal>true</cdk:literal>
        </property-extension>
    </property>
</cdk:properties>
