OpenCms JSP standard taglib
Tag contentcheck


Deprecated. Use properties of org.opencms.jsp.util.CmsJspContentAccessBean via the EL instead.

This tag provides conditional logic for checking the element of a XML content. The body of the tag is only processed if the conditions specified by the attributes and their values all evaluate to true.

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


Tag Information
Tag Classorg.opencms.jsp.CmsJspTagContentCheck
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
ifexistsfalsetruejava.lang.StringA synonym for the attribute ifexistsone.
ifexistsonefalsetruejava.lang.StringGiven a comma separated list of node names, it is checked if those nodes exist in the XML content.
The condition evaluates to true if at least one node exists.
ifexistsallfalsetruejava.lang.StringGiven a comma separated list of node names, it is checked if those nodes exist in the XML content.
The condition evaluates to true if all nodes exists.
ifexistsnonefalsetruejava.lang.StringGiven a comma separated list of node names, it is checked if those nodes exist in the XML content.
The condition evaluates to true if none of the nodes exist.
localefalsetruejava.lang.StringThe locale used to select the language version of the XML content that is checked.

Default: The locale set in the request context.

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.