Package org.opencms.jsp
package org.opencms.jsp
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Most of the classes in this package implement the <cms:>
taglib.
To access the exact same functionality using scriptlets, obtain an instance
of a
from the current JSP.
Using the action element you can also access the current users OpenCms context
in a CmsJspActionElement
, by using CmsObject
.CmsJspBean.getCmsObject()
To aid in template navigation building, have a look at the
which provides a large selection of methods
to easily create dynamic navigations.CmsJspNavBuilder
- Since:
- 6.0.0
- See Also:
-
ClassDescriptionAbstract superclass that handles the common behavior of the jsonarray/jsonobject/jsonvalue tags.A container to store information about a collector's result.Bean containing the data needed to call a collector.Bean to be used in JSP scriptlet code that provides direct access to the functionality offered by the OpenCms taglib.Superclass for OpenCms JSP beans that provides convient access to OpenCms core and VFS functionality.Abstract parent for all JSP tags dealing with image scaling, defines some common image scaler properties and corresponding getters/setters that may be used by extending classes.Provides convenient wrappers useful to create user login pages.Login bean which sets a cookie that can be used by
CmsPersistentLoginAuthorizationHandler
to automatically log the user back in when his session has expired.Bean to provide a convenient way to build navigation structures based on the
.CmsJspNavElement
Navigation builder context.The visibility mode.Bean to collect navigation information from a resource in the OpenCms VFS.Wrapper subclass of CmsResource with some convenience methods.Parent for body tags that require support for setting scoped variables to the JSP page context.This tag is used to dynamically add request parameters which are available during the execution of its body.Keeps track of the runtime state of a single execution of this tag.Provides tag access to OpenCms resource bundles.Provides access to the page container elements.Used to access XML content item information from the current open<cms:contentload>
tag using JSP page context and the JSP EL.Used to check the availablity of an XML content item for conditional display.Used to access and display XML content item information from the VFS.Implementation of the<cms:contentload/>
tag, used to access and display XML content item information from the VFS.Used to loop through the element values of an XML content item.Used to access and display XML content item information from the VFS.Implements the<cms:decorate></cms:decorate>
tag to decorate HTML content with configurated decoration maps.This class provides a<cms:device type="...">
-Tag with the attributetype
to specify the device.The 'display' tag can be used to display a single resource using a formatter.The tag 'displayFormatter' can be used to add a formatter resource type pairing to the surrounding 'display' tag.This tag is used to attach an edit provider to a snippet of HTML.Implementation of the<cms:editable/>
tag.Provides access to the settings of an ADE container element.Implementation of the<enable-ade/>
tag.Generates a special HTML element which enables the 'create list element' dialog for a set of types when used in a formatter.Allows to have certain JSP code on a JSP not processed by OpenCms, which can be useful in case you want to create a JSP page using the OpenCms static export.Implementation of the<cms:formatter var="..." val="..." />
tag, used to access and display XML content item information in a formatter.This tag includes required CSS or JavaScript resources that are to be places in the HTML head.Creates HTML code for <img src> tags that use the OpenCms image scaling capabilities.Implementation of the<cms:include/>
tag, used to include another OpenCms managed resource in a JSP.This is a TagExtraInfo evaluation class that checks the attibutes of the<cms:include />
tag.Provides access to OpenCms and System related information.Deprecated.jQuery should be provided by standard includes directly in the template.Tag for defining a JSON array.Tag for defining a JSON object.Adds a JSON value to the surrounding context and/or stores it as a variable in the page context.Provides access to the labels stored in the language files of the OpenCms workplace.Implements the<cms:link>[filename]</cms:link>
tag to add OpenCms managed links to a JSP page, required for link management and the static export to work properly.Parameters for the link tag.Link type.Builds a java.util.Map isntance with string keys and values from nested param tags, then stores it in a page context variable whose name is supplied by the user.Implementation of the<cms:navigation var="..." />
tag, used to access OpenCms VFS navigation information on a JSP with the EL.Constants fortype
attribute interpretation.A tag to prevent caching by the browser.A handler for <param> that accepts attributes as Strings and evaluates them as expressions at runtime.Implements the<cms:parse></cms:parse>
tag to allow parsing of nested HTML with theA_CmsConfiguredHtmlParser
} implementation specified by the "parserClass" attribute.JSP tag to generate a link to a PDF produced from a given XML content.JSP tag to generate a link to a PDF produced from a given XML content.Provides access to the properties of a resource in the OpenCms VFS .Tells for which resource properties should be looked up (with or without searching), depending on theCmsJspTagProperty.FileUse
.Used to access resource information from the current open<cms:resourceload>
tag using JSP page context and the JSP EL.Implementation of the<cms:resourceload/>
tag, used to access and display resource information from the VFS.This tag allows using the OpenCms native image scaling mechanism within JSP.This tag is used to easily create a search form for a Solr search within a JSP.This tag is used to enable parameter escaping for a single Flex Request.Set bundle tag using OpenCms' bundle loader mechanism.The 'simpledisplay' tag can be used to display a single resource using a formatter.This tag is used to easily create a search form for a Solr search within a JSP.Used to select various template elements form a JSP template that is included in another file.Jsp tag to initialize an editing session for user generated content.Provides access to the data of the currently logged in user.Implementation of the<cms:usertracking/>
tag.Provides access to XML content tag functions from scriptlet code.Interface implemented by JSON tags.Interface for tag handlers implementing valid parent tags for <c:param>.Provides access to a
object that was previously loaded by a parent tag.CmsResource
Provides access to a
document that was previously loaded by a parent tag.I_CmsXmlDocument
Convenience class to access the localized messages of this OpenCms package.