📄 struts-faces.tld
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Id$
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.
-->
<!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>1.3</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>Struts-Faces</short-name>
<uri>http://struts.apache.org/tags-faces</uri>
<description><![CDATA[
<p>This tag library provides custom action functionality that is
similar to that provided by the Struts 1.1 tag libraries, but
is built on top of the JavaServer Faces rendering architecture.</p>
<p>This tag library includes the following tags:</p>
]]>
</description>
<tag>
<name>base</name>
<tag-class>org.apache.struts.faces.taglib.BaseTag</tag-class>
<description><![CDATA[
<p>Renders an HTML <code><base></code> element with an
<code>href</code> attribute pointing to the absolute location
of the enclosing JSP page. This tag is valid only when nested
inside an HTML <code><head></code> element. This tag is
useful because it allows you to use relative URL references that
are based on the URL of the page itself, rather than the URL to
which the most recent submit took place.</p>
]]>
</description>
<attribute>
<name>binding</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>Value binding expression to bind this component to
a backing bean property.</p>
]]>
</description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Component id of this component.
</description>
</attribute>
<attribute>
<name>rendered</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Boolean attribute indicating whether this component should be
rendered or not.
</description>
</attribute>
<attribute>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Target frame for this base reference.
</description>
</attribute>
</tag>
<tag>
<name>commandLink</name>
<tag-class>org.apache.struts.faces.taglib.CommandLinkTag</tag-class>
<description><![CDATA[
<p>Renders an HTML <code><a></code> element defining a
hyperlink that submits the current form. This component is
required because the JSF 1.0 and 1.1 specifications require
interoperability between the renderers for the form element
and the command link element, without providing a portable
mechanism to allow intermixed libraries.</p>
]]>
</description>
<attribute>
<name>action</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>actionListener</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>immediate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>rendered</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>accesskey</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>charset</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>dir</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>hreflang</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>lang</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onblur</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onclick</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>ondblclick</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onfocus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onkeydown</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onkeypress</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onkeyup</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onmousedown</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onmousemove</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onmouseout</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onmouseover</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onmouseup</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>rel</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>rev</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>styleClass</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>tabindex</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>errors</name>
<tag-class>org.apache.struts.faces.taglib.ErrorsTag</tag-class>
<description><![CDATA[
<p>Displays a list of error messages prepared by form bean
or business logic validation processing.</p>
<p>In order to use this component successfully, you must have
defined an application scope <code>MessageResources</code> bean
under the specified attribute name, with optinal definitions for
the following message keys:</p>
]]>
</description>
<attribute>
<name>binding</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>Value binding expression to bind this component to
a backing bean property.</p>
]]>
</description>
</attribute>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>Name of the servlet context attribute under which the desired
<code>MessageResources</code> bundle is stored. If not specified,
the default bundle for this sub-application will be used.</p>
]]>
</description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Component id of this component.
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Component of the component for which to render errors. If not
specified, all messages (regardless of property) are displayed.
</description>
</attribute>
<attribute>
<name>rendered</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Boolean attribute indicating whether this component should be
rendered or not.
</description>
</attribute>
</tag>
<tag>
<name>form</name>
<tag-class>org.apache.struts.faces.taglib.FormTag</tag-class>
<description><![CDATA[
<p>Render an HTML form element containing the nested components to
present the appropriate label and input field elements. This tag is
distinguished from the tag in the standard HTML RenderKit because it
accepts a Struts <code><action></code> path as a parameter,
and triggers the creation of a Struts form bean if needed.</p>
]]>
</description>
<attribute>
<name>action</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>Struts <code>Action</code> to which this form should be
submitted. This value must exactly match the <code>path</code>
attribute of the corresponding <code><action></code>
element in the <code>struts-config.xml</code> configuration
file for this application module.</p>
]]>
</description>
</attribute>
<attribute>
<name>binding</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>Value binding expression to bind this component to
a backing bean property.</p>
]]>
</description>
</attribute>
<attribute>
<name>enctype</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>The content encoding to be used to submit this form, if the
method is <code>POST</code>. This must be set to
"<code>multipart/form-data</code>" if your form includes file upload
field(s). If not specified, the browser default
("<code>application/x-www-form-urlencoded</code>") is used.</p>
]]>
</description>
</attribute>
<attribute>
<name>focus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>The identifier of the form field that should receive focus
when this form is rendered.</p>
]]>
</description>
</attribute>
<attribute>
<name>focusIndex</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>If the focus field is an array, such as a radio button group,
you can specify the index of the array element to receive focus.</p>
]]>
</description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Component id of this component.
</description>
</attribute>
<attribute>
<name>onreset</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>JavaScript event handler executed if this form is reset.</p>
]]>
</description>
</attribute>
<attribute>
<name>onsubmit</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>JavaScript event handler executed if this form is submitted.</p>
]]>
</description>
</attribute>
<attribute>
<name>rendered</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
Boolean attribute indicating whether this component should be
rendered or not.
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>CSS styles to be applied to this HTML element.</p>
]]>
</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>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description><![CDATA[
<p>Window target to which this form is submitted, such as for use
in framed presentations.</p>
]]>
</description>
</attribute>
</tag>
<tag>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -