?? struts-logic.tld
字號(hào):
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>By default the tag will retrieve the bean it will
iterate over from the <code>Globals.ERROR_KEY</code> constant string,
but if this attribute is set to 'true' the bean
will be retrieved from the <code>Globals.MESSAGE_KEY</code>
constant string. Also if this is set to 'true', any value
assigned to the name attribute will be ignored.
</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>messagesPresent</name>
<tag-class>
org.apache.struts.taglib.logic.MessagesPresentTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>
Generate the nested body content of this tag if the specified
message is present in any scope.
</strong></p>
<p>Evaluates the nested body content of this tag if
an <code>ActionMessages</code>
object, <code>ActionErrors</code> object, a String,
or a String array is present in any scope. If
such a bean is not found, nothing will be rendered.
</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.1</dd></dl>
]]>
</description>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The parameter key used to retrieve the message from page, request,
session, or application scope.</p>
]]>
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Name of the property for which messages should be
retrieved. If not specified, all messages (regardless
of property) are retrieved.
</p>
]]>
</description>
</attribute>
<attribute>
<name>message</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>By default the tag will retrieve the bean it will
iterate over from the <code>Globals.ERROR_KEY</code> constant string,
but if this attribute is set to 'true' the bean
will be retrieved from the <code>Globals.MESSAGE_KEY</code>
constant string. Also if this is set to 'true', any value
assigned to the name attribute will be ignored.
</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>notEmpty</name>
<tag-class>org.apache.struts.taglib.logic.NotEmptyTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>
Evaluate the nested body content of this tag if the requested variable is
neither null, nor an empty string, nor an empty java.util.Collection
(tested by the .isEmpty() method on the java.util.Collection interface).
</strong></p>
<p>This tag evaluates its nested body content only if the specified value
is present (i.e. not <code>null</code>) and is not an empty string (i.e. a
<code>java.lang.String</code> with a length of zero).</p>
<p>
<strong>JSTL</strong>: The equivalent JSTL tag is <c:if> using the
<code>! empty</code> operator. For example,
<br/>
<code>
<c:if test="${ ! empty sessionScope.myBean.myProperty}">
do something
</c:if>
</code>
</p>
]]>
</description>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the JSP bean specified by this
attribute, if <code>property</code> is not specified, or the value
of the specified property of this bean, if <code>property</code>
is specified.</p>
]]>
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the property (of the bean specified
by the <code>name</code> attribute) specified by this attribute.
The property reference can be simple, nested, and/or indexed.</p>
]]>
</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The bean scope within which to search for the bean named by the
<code>name</code> property, or "any scope" if not specified.</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>notEqual</name>
<tag-class>org.apache.struts.taglib.logic.NotEqualTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>
Evaluate the nested body content of this tag if the requested
variable is not equal to the specified value.
</strong></p>
<p>Compares the variable specified by one of the selector attributes
against the specified constant value. The nested body content of this
tag is evaluated if the variable and value are <strong>not equal</strong>.
</p>
]]>
</description>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the value of the cookie whose
name is specified by this attribute.</p>
]]>
</description>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the value of the header whose
name is specified by this attribute. The name match is performed
in a case insensitive manner.</p>
]]>
</description>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the JSP bean specified by this
attribute, if <code>property</code> is not specified, or the value
of the specified property of this bean, if <code>property</code>
is specified.</p>
]]>
</description>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the first, or only, value of the
request parameter specified by this attribute.</p>
]]>
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be compared is the property (of the bean specified
by the <code>name</code> attribute) specified by this attribute.
The property reference can be simple, nested, and/or indexed.</p>
]]>
</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The bean scope within which to search for the bean named by the
<code>name</code> property, or "any scope" if not specified.</p>
]]>
</description>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The constant value to which the variable, specified by other
attribute(s) of this tag, will be compared.</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>notMatch</name>
<tag-class>org.apache.struts.taglib.logic.NotMatchTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>
Evaluate the nested body content of this tag if the specified value
is not an appropriate substring of the requested variable.
</strong></p>
<p>Matches the variable specified by one of the selector attributes
(as a String) against the specified constant value. If the value is
not a substring (appropriately limited by the <code>location</code>
attribute), the nested body content of this tag is evaluated.</p>
]]>
</description>
<attribute>
<name>cookie</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be matched is the value of the cookie whose
name is specified by this attribute.</p>
]]>
</description>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be matched is the value of the header whose
name is specified by this attribute. The name match is performed
in a case insensitive manner.</p>
]]>
</description>
</attribute>
<attribute>
<name>location</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>If not specified, a match between the variable and the value may
occur at any position within the variable string. If specified, the
match must occur at the specified location (either <code>start</code>
or <code>end</code>) of the variable string.</p>
]]>
</description>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be matched is the JSP bean specified by this
attribute, if <code>property</code> is not specified, or the value
of the specified property of this bean, if <code>property</code>
is specified.</p>
]]>
</description>
</attribute>
<attribute>
<name>parameter</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be matched is the first, or only, value of the
request parameter specified by this attribute.</p>
]]>
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The variable to be matched is the property (of the bean specified
by the <code>name</code> attribute) specified by this attribute.
The property reference can be simple, nested, and/or indexed.</p>
]]>
</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -