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

META-INF.maven-faces-plugin.components.trinidad.NavigationLevel.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[The navigationLevel component creates a series of navigation items representing one level in a navigation hierarchy.]]>
    </description>
    <icon>
      <!-- small-icon>/org/apache/myfaces/trinidadinternal/metadata/icons/baseNavigationLevel.png</small-icon -->
    </icon>
    <component-type>org.apache.myfaces.trinidad.NavigationLevel</component-type>
    <component-class>org.apache.myfaces.trinidad.component.UIXNavigationLevel</component-class>
    <facet>
      <description><![CDATA[the component to use to stamp each element in the
              navigation. A CommandNavigationItem is expected.]]>
      </description>
      <facet-name>nodeStamp</facet-name>
      <facet-extension>
        <mfp:facet-metadata/>
        <fmd:facet-metadata>
          <fmd:preferred-child-components>org.apache.myfaces.trinidad.CoreCommandNavigationItem</fmd:preferred-child-components>
        </fmd:facet-metadata>
      </facet-extension>
    </facet>
    <property>
      <description><![CDATA[the hierarchy of navigation data - must be of type
            org.apache.myfaces.trinidad.model.MenuModel]]>
      </description>
      <property-name>value</property-name>
      <property-class>java.lang.Object</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 level, based on a 0 based index, in the menuModel to render based on the focusPath of the menuModel.]]>
      </description>
      <property-name>level</property-name>
      <property-class>int</property-class>
      <default-value>0</default-value>
      <property-extension>
        <mfp:property-metadata/>
        <fmd:property-metadata>
          <fmd:preferred>true</fmd:preferred>
          <fmd:property-editor>UNSIGNED_INTEGER</fmd:property-editor>
        </fmd:property-metadata>
      </property-extension>
    </property>
    <property>
      <description><![CDATA[<html>
 Name of the EL variable used to reference the varStatus information.
          Once this component has completed rendering, this variable is
          removed (or reverted back to its previous value).
          The VarStatus provides contextual information about the state of the
          component to EL expressions. For components that iterate, varStatus
          also provides loop counter information.  Please see the this
          component's documentation for the specific properties on the varStatus.
          The common properties on varStatus include:<ul><li>"model" - returns the CollectionModel for this component</li><li>"index" - returns the zero based row index</li></ul></html>]]>
      </description>
      <property-name>varStatus</property-name>
      <property-class>java.lang.String</property-class>
      <property-extension>
        <mfp:property-metadata/>
        <fmd:property-metadata>
          <fmd:preferred>true</fmd:preferred>
          <fmd:value-expression>PROHIBITED</fmd:value-expression>
        </fmd:property-metadata>
      </property-extension>
    </property>
    <component-extension>
      <mfp:component-family>org.apache.myfaces.trinidad.NavigationLevel</mfp:component-family>
      <mfp:component-supertype>org.apache.myfaces.trinidad.CollectionBase</mfp:component-supertype>
      <mfp:component-superclass>org.apache.myfaces.trinidad.component.UIXNavigationHierarchy</mfp:component-superclass>
      <mfp:renderer-type>org.apache.myfaces.trinidad.NavigationLevel</mfp:renderer-type>
      <mfp:naming-container>true</mfp:naming-container>
      <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.UIXNavigationLevelTag</mfp:tag-class>
      <mfp:long-description><![CDATA[The navigationLevel component creates a series of navigation items representing one level in a navigation hierarchy.]]>
      </mfp:long-description>
      <mfp:author>Adam Winer</mfp:author>
      <mfp:tag-class-modifier>abstract</mfp:tag-class-modifier>
    </component-extension>
  </component>
</faces-config>






© 2015 - 2024 Weber Informatics LLC | Privacy Policy