📄 components.tld
字号:
<?xml version="1.0" encoding="UTF-8" ?><!-- Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. 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> <tlib-version>0.03</tlib-version> <jsp-version>1.2</jsp-version> <short-name>JavaServerFaces Example Components Tag Library</short-name> <uri>http://java.sun.com/jsf/demo/components</uri> <description> This tag library contains tags for several useful demo components. These components are *not* part of the standard JavaServer Faces Specification, but are provided as examples of how components, renderers, and component tags can be built on top of the framework. </description> <tag> <name>area</name> <tag-class>components.taglib.AreaTag</tag-class> <body-content>empty</body-content> <description> Description of a single hotspot in a client side image map. This tag MUST be nested inside a <map> tag. To specify the hotspot characteristics, you must specify EITHER a value OR the alt, coords, and shape attributes. </description> <attribute> <name>binding</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression to bind this component to a backing bean. </description> </attribute> <attribute> <name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Alternate text for a synthesized ImageArea bean. The set of alt values for all hotspots in a particular map must be unique. </description> </attribute> <attribute> <name>coords</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Hotspot coordinates for a synthesized ImageArea bean. </description> </attribute> <attribute> <name>id</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Component id of this component. </description> </attribute> <attribute> <name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Context-relative path to the image to be displayed for this hotspot when the mouse is not hovering over it. </description> </attribute> <attribute> <name>onmouseover</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Context-relative path to the image to be displayed for this hotspot when the mouse is hovering over it. </description> </attribute> <attribute> <name>targetImage</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <description> Specifies the ID if the image component. </description> </attribute> <attribute> <name>shape</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Shape for a synthesized ImageArea bean (default, rect, circle, poly). </description> </attribute> <attribute> <name>styleClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering this element. </description> </attribute> <attribute> <name>value</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression pointing at an ImageArea bean describing the characteristics of this hotspot. If not present, an ImageArea bean will be synthesized from the values of the alt, coords, and shape attributes. </description> </attribute> </tag> <tag> <name>data_repeater</name> <tag-class>components.taglib.DataRepeaterTag</tag-class> <body-content>JSP</body-content> <description> Render the components of the child UIColumn components under the UIData component associated with this tag, once per row. The actual renderer class (components.renderkit.RepeaterRenderer) can serve as the base class for more specialized markup generation. </description> <attribute> <name>binding</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression to bind this component to a backing bean. </description> </attribute> <attribute> <name>first</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Zero-relative row index of the first row to be displayed. If not specified, the default value is zero (i.e. the first row of the underlying data model). </description> </attribute> <attribute> <name>id</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Component identifier of this component. </description> </attribute> <attribute> <name>rendered</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Flag indicating whether or not this component should be rendered. If not specified, the default value is "true". </description> </attribute> <attribute> <name>rows</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> The maximum number of rows (from the underlying data model) to be rendered. If not specified, the default value is zero, which indicates that all remaining rows should be rendered. </description> </attribute> <attribute> <name>styleClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> The CSS style class to use when rendering the entire table, if any. </description> </attribute> <attribute> <name>value</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression pointing at (a) a DataModel instance, (b) an array of objects, (c) a List of objects, (d) a java.sql.ResultSet (or RowSet), (d) a javax.servlet.jsp.jstl.sql.Result object, or (e) a JavaBean (which will be treated as a one-row dataset). </description> </attribute> <attribute> <name>var</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Attribute key under which an object representing the current row will be exposed as a request scope attribute. If not specified, no such row data object will be exposed. </description> </attribute> </tag> <tag> <name>graph_menubar</name> <tag-class>components.taglib.GraphMenuBarTag</tag-class> <body-content>JSP</body-content> <description> Render a components.model.Graph (bindingd by the current value of a UIOutput component) as a menu bar (whose items are from the children of the root node of the graph), with expanded menus (and submenus) underneath. </description> <attribute> <name>binding</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression to bind this component to a backing bean. </description> </attribute> <attribute> <name>actionListener</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Optional method binding binding to handle tree expansion and contraction events. </description> </attribute> <attribute> <name>immediate</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> A flag indicating that the default ActionListener should execute immediately (that is, during the Apply Request Values phase of the request processing lifecycle, instead of waiting for Invoke Application phase). The default value of this property must be false. </description> </attribute> <attribute> <name>styleClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering this component. </description> </attribute> <attribute> <name>id</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <description> Component id of this component </description> </attribute> <attribute> <name>value</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> value binding expression pointing at a components.model.Graph instance. </description> </attribute> <attribute> <name>selectedClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering a seelcted node. </description> </attribute> <attribute> <name>unselectedClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering a unselected node. </description> </attribute> </tag> <tag> <name>graph_menutree</name> <tag-class>components.taglib.GraphMenuTreeTag</tag-class> <body-content>JSP</body-content> <description> Render a components.model.Graph (referenced by the current value of a UIOutput component) as a tree control with subtrees expanded or contracted based on the "expanded" property. </description> <attribute> <name>binding</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression to bind this component to a backing bean. </description> </attribute> <attribute> <name>actionListener</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Optional method binding reference to handle tree expansion and contraction events. </description> </attribute> <attribute> <name>immediate</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> A flag indicating that the default ActionListener should execute immediately (that is, during the Apply Request Values phase of the request processing lifecycle, instead of waiting for Invoke Application phase). The default value of this property must be false. </description> </attribute> <attribute> <name>styleClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering this component. </description> </attribute> <attribute> <name>id</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <description> Component id of this component </description> </attribute> <attribute> <name>value</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Model binding expression pointing at a components.model.Graph instance. </description> </attribute> <attribute> <name>selectedClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering a seelcted node. </description> </attribute> <attribute> <name>unselectedClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> CSS style class to use when rendering a unselected node. </description> </attribute> </tag> <tag> <name>graph_menunode</name> <tag-class>components.taglib.GraphMenuNodeTag</tag-class> <body-content>JSP</body-content> <description> Render a components.model.Node that represents a node of the tree. </description> <attribute> <name>binding</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression to bind this component to a backing bean. </description> </attribute> <attribute> <name>action</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> context-relative URL triggered when node selected. </description> </attribute> <attribute> <name>enabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> should the node be enabled ? </description> </attribute> <attribute> <name>expanded</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Should the node appear expanded or collapased ? </description> </attribute> <attribute> <name>icon</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> icon to visually represent the node. This can be used with or without label. </description> </attribute> <attribute> <name>label</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> visual representation of the node. </description> </attribute> <attribute> <name>name</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Name of the node. </description> </attribute> </tag> <tag> <name>graph_treenode</name> <tag-class>components.taglib.GraphTreeNodeTag</tag-class> <body-content>JSP</body-content> <description> Render a components.model.Node that represents a node of the tree. </description> <attribute> <name>binding</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Value binding expression to bind this component to a backing bean. </description> </attribute> <attribute> <name>action</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> context-relative URL triggered when node selected. </description> </attribute> <attribute> <name>enabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> should the node be enabled ? </description> </attribute> <attribute> <name>expanded</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> Should the node appear expanded or collapased ? </description> </attribute>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -