OpenCms JSP standard taglib
Tag contentinfo


This tag provides access to information about the XML contents collected via <cms:contentload>. It has to be used in the body of <cms:contentload>.

Typically, the tag is employed to build up a page navigation or, when using the surrounding <cms:contentload> with the attribute preload="true", to get information about the number of contents collected.


Tag Information
Tag Classorg.opencms.jsp.CmsJspTagContentInfo
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsetruejava.lang.StringName of the exported scoped variable that provides access to information about the XML contents loaded via <cms:contentload>. The variable's visibility is limited to the body of the surrounding <cms:contentload> tag.

The exported variable has type org.opencms.jsp.util.CmsContentInfoBean.
valuefalsetruejava.lang.String

Deprecated. There is no need to use this attribute since JSP 2.0 standard. Just use EL outside of the tag.

The string or EL expression, the tag is replaced with.
For example, if the attribute var is set to info, providing ${info.resultSize} as value for value, the number of results collected by the surrounding <cms:contentload> is displayed.

Warning: might not work properly for the first execution of the tag.
scopefalsetruejava.lang.StringThe scope, where the exposed variables are placed.
The following values are supported:
page (default)
Place the object that is exported via a variable in the page scope.
request
Place the object that is exported via a variable in the request scope.
session
Place the object that is exported via a variable in the session scope.
application
Place the object that is exported via a variable in the application scope.

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.