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

META-INF.maven-faces-plugin.components.trinidad.Column.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[This is base abstraction for column.]]></description>
    <icon>
      <!-- small-icon>/org/apache/myfaces/trinidadinternal/metadata/icons/baseColumn.png</small-icon -->
    </icon>
    <component-type>org.apache.myfaces.trinidad.Column</component-type>
    <component-class>org.apache.myfaces.trinidad.component.UIXColumn</component-class>
    <facet>
      <description><![CDATA[the node to use to render this column's header.]]></description>
      <facet-name>header</facet-name>
      <facet-extension>
        <mfp:long-description>the node to use to render this column's header.</mfp:long-description>
        <mfp:example>
          <mfp:source-code>
            <![CDATA[
<tr:column>
 <f:facet name="header">
  <tr:outputText value="Header1"/>
 </f:facet>
 ...
</tr:column>
            ]]>
          </mfp:source-code>
        </mfp:example>
        <mfp:facet-metadata/>
        <fmd:facet-metadata>
          <fmd:preferred-child-components>org.apache.myfaces.trinidad.CoreOutputText</fmd:preferred-child-components>
        </fmd:facet-metadata>
      </facet-extension>
    </facet>
    <facet>
      <description><![CDATA[the node to render as this column's footer.]]></description>
      <facet-name>footer</facet-name>
    </facet>
    <property>
      <description><![CDATA[The property that is displayed by this Column. This is the
            property that the framework might use to (for example) sort
            the Table's data.]]>
      </description>
      <property-name>sortProperty</property-name>
      <property-class>java.lang.String</property-class>
      <property-extension>
        <mfp:property-metadata/>
        <fmd:property-metadata>
          <fmd:preferred>true</fmd:preferred>
        </fmd:property-metadata>
      </property-extension>
    </property>
    <property>
      <description><![CDATA[The sorting strength for this column. It controls how this column should
      be sorted, what level of difference considered significant during comparison. Currently the
      values supported are: "Primary", "Secondary", "Tertiary" and "Identical". Default value is
      "Identical".]]>
      </description>
      <property-name>sortStrength</property-name>
      <property-class>java.lang.String</property-class>
      <default-value>Identical</default-value>
      <property-extension>
        <mfp:property-metadata/>
        <fmd:property-metadata>
          <fmd:required>false</fmd:required>
          <fmd:property-values>Primary Secondary Tertiary Identical</fmd:property-values>
        </fmd:property-metadata>
      </property-extension>
    </property>
    <component-extension>
      <mfp:component-family>org.apache.myfaces.trinidad.Column</mfp:component-family>
      <mfp:component-supertype>org.apache.myfaces.trinidad.ComponentBase</mfp:component-supertype>
      <mfp:renderer-type>org.apache.myfaces.trinidad.Column</mfp:renderer-type>
      <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.UIXColumnTag</mfp:tag-class>
      <mfp:long-description><![CDATA[This is base abstraction for column.]]></mfp:long-description>
      <mfp:tag-class-modifier>abstract</mfp:tag-class-modifier>
    </component-extension>
  </component>
</faces-config>







© 2015 - 2024 Weber Informatics LLC | Privacy Policy