All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven-faces-plugin.components.trinidad.Table.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="utf-8"?>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
	   
-->
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:tr="http://myfaces.apache.org/trinidad"
              xmlns:xi="http://www.w3.org/2001/XInclude"
              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
              xmlns:fmd="http://java.sun.com/xml/ns/javaee/faces/design-time-metadata">
  <component>
    <description><![CDATA[UIXTable is the base abstraction for table components.]]></description>
    <icon>
      <!-- small-icon>/org/apache/myfaces/trinidadinternal/metadata/icons/baseTable.png</small-icon -->
    </icon>
    <component-type>org.apache.myfaces.trinidad.Table</component-type>
    <component-class>org.apache.myfaces.trinidad.component.UIXTable</component-class>

    <xi:include href="includes/RowDisclosureEvent.xml" xpointer="/faces-config/component/*"/>
    <xi:include href="includes/DisclosedRowKeys.xml" xpointer="/faces-config/component/*"/>
    <xi:include href="includes/SelectionEvent.xml" xpointer="/faces-config/component/*"/>
    <xi:include href="includes/CommonTableAttrs.xml" xpointer="/faces-config/component/*"/>

    <facet>
      <description><![CDATA[the component to stamp below every row which is disclosed. Adding a
detail facet will automatically cause the detail column to be displayed.]]>
      </description>
      <facet-name>detailStamp</facet-name>
      <facet-extension>
        <mfp:unsupported-render-kits>org.apache.myfaces.trinidad.dhtml</mfp:unsupported-render-kits>
      </facet-extension>
    </facet>
    <property>
      <description><![CDATA[a method reference to a sort listener]]></description>
      <property-name>sortListener</property-name>
      <property-class>javax.el.MethodExpression</property-class>
      <property-extension>
        <mfp:method-binding-signature>
          <mfp:parameter-type>org.apache.myfaces.trinidad.event.SortEvent</mfp:parameter-type>
          <mfp:return-type>void</mfp:return-type>
        </mfp:method-binding-signature>
        <mfp:property-metadata/>
        <fmd:property-metadata>
          <fmd:preferred>true</fmd:preferred>
        </fmd:property-metadata>
      </property-extension>
    </property>
    <property>
      <description><![CDATA[a method reference to a rangeChange listener that
         will be called when a new range is selected.]]>
      </description>
      <property-name>rangeChangeListener</property-name>
      <property-class>javax.el.MethodExpression</property-class>
      <property-extension>
        <mfp:method-binding-signature>
          <mfp:parameter-type>org.apache.myfaces.trinidad.event.RangeChangeEvent</mfp:parameter-type>
          <mfp:return-type>void</mfp:return-type>
        </mfp:method-binding-signature>
        <mfp:property-metadata/>
        <fmd:property-metadata>
          <fmd:preferred>true</fmd:preferred>
        </fmd:property-metadata>
      </property-extension>
    </property>
    <property>
      <description><![CDATA[whether the "Show All" option is selected. The "Show All" option
        is available if there are less than 30 options and the row count in
        the data model is known.]]>
      </description>
      <property-name>showAll</property-name>
      <property-class>boolean</property-class>
      <default-value>false</default-value>
      <property-extension>
        <mfp:tag-attribute-excluded>true</mfp:tag-attribute-excluded>
      </property-extension>
    </property>
    <component-extension>
      <mfp:component-family>org.apache.myfaces.trinidad.Table</mfp:component-family>
      <mfp:component-supertype>org.apache.myfaces.trinidad.Iterator</mfp:component-supertype>
      <mfp:renderer-type>org.apache.myfaces.trinidad.Table</mfp:renderer-type>
      <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.UIXTableTag</mfp:tag-class>
      <mfp:author>Brian Albers</mfp:author>
      <mfp:author>Arjuna Wijeyekoon</mfp:author>
      <mfp:tag-class-modifier>abstract</mfp:tag-class-modifier>
      <mfp:event>
        <mfp:description>Generated when the user changes the range</mfp:description>
        <mfp:event-type>org.apache.myfaces.trinidad.RangeChange</mfp:event-type>
        <mfp:event-delivery-phase>Apply Request Values</mfp:event-delivery-phase>
        <mfp:event-delivery-phase>Invoke Application</mfp:event-delivery-phase>
      </mfp:event>
      <mfp:event>
        <mfp:description>Generated when the user sorts a column.</mfp:description>
        <mfp:event-type>org.apache.myfaces.trinidad.Sort</mfp:event-type>
        <mfp:event-delivery-phase>Apply Request Values</mfp:event-delivery-phase>
        <mfp:event-delivery-phase>Invoke Application</mfp:event-delivery-phase>
      </mfp:event>
    </component-extension>
  </component>
</faces-config>






© 2015 - 2024 Weber Informatics LLC | Privacy Policy