OpenCms JSP standard taglib
Tag include


This tag is used for including OpenCms subelements in a page. It is similar to the "include" JSP directive. But, in contrast, it loads the input at runtime, not at compile time.

In the body of the tag, the <cms:param> tag can be used to pass parameters to the included file.

You could also specify the file to include in the tag's body.

Note that all Uris should be given as absolute or relative pathes without web application or servlet path, nor wrapped by a <cms:link>.


Tag Information
Tag Classorg.opencms.jsp.CmsJspTagInclude
TagExtraInfo Classorg.opencms.jsp.CmsJspTagIncludeTEI
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
pagefalsetruejava.lang.StringSynonym for file.
filefalsetruejava.lang.StringURI of the file that should be included.
propertyfalsetruejava.lang.StringSpecify a property of the current JSP that provides the URI of the file that should be included.
attributefalsetruejava.lang.StringSpecify the file to include via an attribute of the servlet request and provide the attribute's name via this tag-attribute.
suffixfalsetruejava.lang.StringA suffix, appended to the specified file that should be included.

Can only be used in combination with the attributes property or attribute.
elementfalsetruejava.lang.StringThe element to select form the included (JSP) file.
editablefalsetruejava.lang.StringDeprecated. Flag to indicate if the included (JSP) file is editable.
cacheablefalsetruejava.lang.StringFlag to indicate if the included file should be cacheable in the Flex Cache.

Default: "true".

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.