OpenCms JSP standard taglib
Tag contentaccess


This tag provides access to an XML content.

It has to be used in the body of <cms:contentload>.


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

Attributes
NameRequiredRequest-timeTypeDescription
vartruetruejava.lang.StringName of the exported scoped variable that provides access to the XML content currently 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.CmsJspContentAccessBean.
valfalsetruejava.lang.StringName of the exported scoped variable that provides direct access to the value map of the currently loaded XML content. The same object can be access via the .value property of the variable exported via the var attribute.
scopefalsetruejava.lang.StringThe scope, where the exposed variables are placed.
The following values are supported:
page (default)
Place the objects that are exported via variables in the page scope.
request
Place the objects that are exported via variables in the request scope.
session
Place the objects that are exported via variables in the session scope.
application
Place the objects that are exported via variables in the application scope.
localefalsetruejava.lang.StringThe locale that identifies which language specific version of the content is accessed.

Default: The locale set in the request context.

Variables
NameTypeDeclareScopeDescription
From attribute 'var'java.util.MaptrueNESTEDNo Description


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.