?? struts-tiles-el.tld
字號(hào):
]]>
</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Specifies the variable scope into which the newly defined bean
will be created. If not specified, the bean will be created in page
scope.</p>
]]>
</description>
</attribute>
<attribute>
<name>template</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>A string representing the URI of a tile/component/template
(a JSP page).</p>
]]>
</description>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>URL of the template / component to insert. Same as "template".</p>
]]>
</description>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Role to check before inserting this definition. If role is not
defined for current user, definition is not inserted. Checking is
done at insert time, not during definition process.</p>
]]>
</description>
</attribute>
<attribute>
<name>extends</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Name of a parent definition that is used to initialize this new
definition. Parent definition is searched in definitions factory.</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>put</name>
<tag-class>org.apache.strutsel.taglib.tiles.ELPutTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>Put an attribute into tile/component/template context.
</strong></p>
<p>Define an attribute to pass to tile/component/template. This tag can
only be used inside 'insert' or 'definition' tag. Value (or content) is
specified using attribute 'value' (or 'content'), or using the tag body.
It is also possible to specify the type of the value :</p>
<ul>
<li>string : Content is written directly.</li>
<li>page | template : Content is included from specified URL.
Name is used as an URL.</li>
<li>definition : Content come from specified definition (from factory).
Name is used as definition name.</li>
</ul>
<p>If 'type' attribute is not specified, content is 'untyped', unless it
comes from a typed bean.</p>
<p>Note that using 'direct="true"' is equivalent to 'type="string"'.</p>
]]>
</description>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Name of the attribute.</p>
]]>
</description>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Attribute value. Could be a String or an Object.
Value can come from a direct assignment (value="aValue") or from a bean.
One of 'value' 'content' or 'beanName' must be present.</p>
]]>
</description>
</attribute>
<attribute>
<name>content</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Content that's put into tile scope. Synonym to value. Attribute
added for compatibility with JSP Template.</p>
]]>
</description>
</attribute>
<attribute>
<name>direct</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Determines how content is handled: true means content is
printed <em>direct</em></p>
]]>
</description>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Specify content type: string, page, template or definition.</p>
<ul>
<li>String : Content is printed directly.</li>
<li>page | template : Content is included from specified URL.
Name is used as an URL.</li>
<li>definition : Value is the name of a definition defined in
factory (xml file). Definition will be searched
in the inserted tile, in a <code><tiles:insert
attribute="attributeName"></code> tag, where 'attributeName'
is the name used for this tag.</li>
</ul>
]]>
</description>
</attribute>
<attribute>
<name>beanName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Name of the bean used as value. Bean is retrieved from specified
context, if any. Otherwise, method pageContext.findAttribute is used.
If beanProperty is specified, retrieve value from the corresponding
bean property.</p>
]]>
</description>
</attribute>
<attribute>
<name>beanProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Bean property name. If specified, value is retrieve from this
property. Support nested/indexed properties.</p>
]]>
</description>
</attribute>
<attribute>
<name>beanScope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Scope into which bean is searched. If not specified, method
pageContext.findAttribute is used.
Scope can be any JSP scope, 'tile', 'component', or 'template'.
In these three later cases, bean is search in tile/component/template
context.</p>
]]>
</description>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>If the user is in the specified role, the tag is taken into account;
otherwise, the tag is ignored (skipped).</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>putList</name>
<tag-class>org.apache.strutsel.taglib.tiles.ELPutListTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>Declare a list that will be pass as attribute to tile.
</strong></p>
<p>Declare a list that will be pass as attribute to tile.
List elements are added using the tag 'add'.
This tag can only be used inside 'insert' or 'definition' tag.</p>
]]>
</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Name of the list.</p>
]]>
</description>
</attribute>
</tag>
<tag>
<name>add</name>
<tag-class>org.apache.strutsel.taglib.tiles.ELAddTag</tag-class>
<body-content>JSP</body-content>
<description>
<![CDATA[
<p><strong>
Add an element to the surrounding list.
Equivalent to 'put', but for list element.
</strong></p>
<p>Add an element to the surrounding list.
This tag can only be used inside putList tag.
Value can come from a direct assignment (value="aValue") or from a bean.
One of 'value' or 'beanName' must be present.</p>
]]>
</description>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Element value. Can be a String or Object.</p>
]]>
</description>
</attribute>
<attribute>
<name>content</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Element value. Can be a String or Object. Synonym to value.
Attribute added for compatibility with JSP Template.</p>
]]>
</description>
</attribute>
<attribute>
<name>direct</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Determines how content is handled: true means content is
printed <em>direct</em></p>
]]>
</description>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
<![CDATA[
<p>Specify content type: string, page, template or instance.</p>
<ul>
<li>String : Content is printed directly.</li>
<li>page | template : Content is included from specified URL.
Name is used as an URL.</li>
<li>definition : Value denote a definition defined in factory
(xml file). Definition will be searched
in the inserted tile, in a <code><insert
attribute="attributeName"></code> tag, where 'attributeName'
is the name used for this tag.</li>
</ul>
]]>
</description>
</attribute>
<attribute>
<name>beanName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Name of the bean used as value. Bean is retrieved from specified
context, if any. Otherwise, method pageContext.findAttribute is used.
If beanProperty is specified, retrieve value from the corresponding
bean property.</p>
]]>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -