⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jsf_core.tld

📁 JSF的一个项目演示
💻 TLD
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0" encoding="ISO-8859-1" ?><!-- Copyright 2004 Sun Microsystems, Inc. All rights reserved. SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.--><!DOCTYPE taglib  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"><taglib>  <!-- ========== Tag Library Description Elements ========================= -->  <tlib-version>1.0</tlib-version>  <jsp-version>1.2</jsp-version>  <short-name>f</short-name>  <uri>http://java.sun.com/jsf/core</uri>  <description>    The core JavaServer Faces custom actions that are independent of    any particular RenderKit.  </description>  <!-- ========== Tag Library Validator ==================================== -->  <!-- This TLV verifies that a Faces tag has an ID if it is a        child or sibling of a JSTL conditional or iterator tag  -->  <validator>    <validator-class>      com.sun.faces.taglib.jsf_core.CoreValidator    </validator-class>    <description>      This tag library validator verifies certain semantic restrictions on the      use of JavaServer Faces component actions, including the requirement that      component tags nested inside a JSTL conditional tag must have a value      specified for the "id" attribute.    </description>  </validator>  <!-- ============== Configuration Listener ============== -->  <!--        This ServletContextListener initializes the runtime environment        of the JavaServer Faces Reference Implementation when a web        application including it is initialized by the container.  -->  <listener>    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>  </listener>  <!-- ========== Tag Descriptions ========================================= -->  <tag>    <name>actionListener</name>    <tag-class>com.sun.faces.taglib.jsf_core.ActionListenerTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>empty</body-content>    <description>      Register an ActionListener instance on the UIComponent associated      with the closest parent UIComponent custom action.    </description>    <attribute>      <name>type</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        Fully qualified Java class name of an ActionListener to be        created and registered.      </description>    </attribute>  </tag>  <tag>    <name>attribute</name>    <tag-class>javax.faces.webapp.AttributeTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>empty</body-content>    <description>      Add an attribute to the UIComponent associated with the closest      parent UIComponent custom action.    </description>    <attribute>      <name>name</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        The name of the component attribute to be set.      </description>    </attribute>    <attribute>      <name>value</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        The value of the component attribute to be set.      </description>    </attribute>  </tag>  <tag>    <name>convertDateTime</name>    <tag-class>com.sun.faces.taglib.jsf_core.ConvertDateTimeTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>empty</body-content>    <description>      Register a DateTimeConverter instance on the UIComponent associated      with the closest parent UIComponent custom action.    </description>    <attribute>      <name>dateStyle</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Predefined formatting style which determines how the date        component of a date string is to be formatted and parsed.        Applied only if type is "date" or "both".  Valid values        are "default", "short", "medium", "long", and "full".        Default value is "default".      </description>    </attribute>    <attribute>      <name>locale</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Locale whose predefined styles for dates and times are used        during formatting or parsing.  If not specified, the Locale        returned by FacesContext.getViewRoot().getLocale() will be used.        Value must be either a VB expression that evaluates to a        java.util.Locale instance, or a String that is valid to pass as        the first argument to the constructor java.util.Locale(String        language, String country).  The empty string is passed as the        second argument.      </description>    </attribute>    <attribute>      <name>pattern</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Custom formatting pattern which determines how the        date/time string should be formatted and parsed.      </description>    </attribute>    <attribute>      <name>timeStyle</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Predefined formatting style which determines how the        time component of a date string is to be formatted and        parsed.  Applied only if type is "time" or "both".        Valid values are "default", "short", "medium", "long",        and "full".  Default value is "default".      </description>    </attribute>    <attribute>      <name>timeZone</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Time zone in which to interpret any time information in the date        String.  Value must be either a VB expression that evaluates to        a java.util.TimeVone instance, or a String that is a timezone ID        as described in the javadocs for        java.util.TimeZone.getTimeZone().      </description>    </attribute>    <attribute>      <name>type</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Specifies what contents the string value will be        formatted to include, or parsed expecting.  Valid        values are "date", "time", and "both".  Default        value is "date".      </description>    </attribute>  </tag>  <tag>    <name>convertNumber</name>    <tag-class>com.sun.faces.taglib.jsf_core.ConvertNumberTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>empty</body-content>    <description>      Register a NumberConverter instance on the UIComponent associated      with the closest parent UIComponent custom action.    </description>    <attribute>      <name>currencyCode</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        ISO 4217 currency code, applied only when        formatting currencies.      </description>    </attribute>    <attribute>      <name>currencySymbol</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Currency symbol, applied only when formatting        currencies.      </description>    </attribute>    <attribute>      <name>groupingUsed</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Flag specifying whether formatted output will        contain grouping separators.  Expressions must        evaluate to a boolean.  Default value        is true.      </description>    </attribute>    <attribute>      <name>integerOnly</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Flag specifying whether only the integer part        of the value will be formatted and parsed.        Expressions must evaluate to a boolean.        Default value is false.      </description>    </attribute>    <attribute>      <name>locale</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Locale whose predefined styles for numbers        are used during formatting and parsing.  If        not specified, the Locale returned by        FacesContext.getViewRoot().getLocale()        will be used.  Expressions must evaluate to        a java.util.Locale.      </description>    </attribute>    <attribute>      <name>maxFractionDigits</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Maximum number of digits that will be formatted        in the fractional portion of the output.  Expressions        must evaluate to an int.      </description>    </attribute>    <attribute>      <name>maxIntegerDigits</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Maximum number of digits that will be formatted        in the integer portion of the output.  Expressions        must evaluate to an int.      </description>    </attribute>    <attribute>      <name>minFractionDigits</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Minimum number of digits that will be formatted        in the fractional portion of the output.  Expressions        must evaluate to an int.      </description>    </attribute>    <attribute>      <name>minIntegerDigits</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Minimum number of digits that will be formatted        in the integer portion of the output.  Expressions        must evaluate to an int.      </description>    </attribute>    <attribute>      <name>pattern</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Custom formatting pattern which determins how the        number string should be formatted and parsed.      </description>    </attribute>    <attribute>      <name>type</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>        Specifies how the number string will be formatted        and parsed.  Valid values are "number", "currency",        and "percentage".  Default value is "number".      </description>    </attribute>  </tag>  <tag>    <name>converter</name>    <tag-class>javax.faces.webapp.ConverterTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>empty</body-content>    <description>      Register a named Converter instance on the UIComponent      associated with the closest parent UIComponent custom action.    </description>    <attribute>      <name>converterId</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        Converter identifier of the Converter instance to be        created and registered.      </description>    </attribute>  </tag>  <tag>    <name>facet</name>    <tag-class>javax.faces.webapp.FacetTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>JSP</body-content>    <description>      Register a named facet on the UIComponent associated with      the closest parent UIComponent custom action.    </description>    <attribute>      <name>name</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        Name of the facet to be created.      </description>    </attribute>  </tag>  <tag>    <name>loadBundle</name>    <tag-class>com.sun.faces.taglib.jsf_core.LoadBundleTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>empty</body-content>    <description>      Load a resource bundle localized for the Locale      of the current view, and expose it (as a Map) in      the request attributes of the current request.    </description>    <attribute>      <name>basename</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        Base name of the resource bundle        to be loaded.      </description>    </attribute>    <attribute>      <name>var</name>      <required>true</required>      <rtexprvalue>false</rtexprvalue>      <description>        Name of a request scope attribute under which        the resource bundle will be exposed as a Map.      </description>    </attribute>  </tag>  <tag>    <name>param</name>    <tag-class>com.sun.faces.taglib.jsf_core.ParameterTag</tag-class>    <tei-class>com.sun.faces.taglib.FacesTagExtraInfo</tei-class>    <body-content>JSP</body-content>    <description>      Add a child UIParameter component to the UIComponent

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -