OpenCms JSP standard taglib
Tag info


This tag enables access to some system information like OpenCms version etc.


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

Attributes
NameRequiredRequest-timeTypeDescription
propertytruetruejava.lang.StringThe information that should be returned. Possible values are:
opencms.version
OpenCms version number, e.g., "9.0.1".
opencms.url
Complete Url of the requested page, including the host name, e.g., "http://localhost:8080/opencms/opencms/mypage/index.html".
opencms.uri
URI of the requested page without host name, e.g., "/opencms/opencms/mypage/index.html".
opencms.webapp
Name of the OpenCms webapplication, e.g., "opencms".
opencms.webbasepath
System path to the web application, e.g., "C:\Java\Tomcat\webapps\opencms\".
opencms.request.uri
Currently requested URI in the OpenCms VFS, e.g., "/mypage/index.html"
opencms.request.element.uri
OpenCms VFS URI of the currently processed element, which might be a sub-element included in a template or the URI of the formatter used for a container element, e.g., "/system/modules/org.opencms.welcome/formatters/welcome.jsp".
opencms.request.folder
OpenCms VFS parent folder of the requested resource, e.g., "/mypage/".
opencms.request.encoding
The character encoding set for the currently requested resource, e.g., "UTF-8".
opencms.request.locale
Locale used for the current request, e.g., "en".
opencms.title
The title of the document that should be used for the HTML title tag. This is useful for container detail pages, in which case it will return the Title of the detail, not the container page. Otherwise it just returns the value of the Title property.
opencms.description
The description of the document that should be used for the HTML description meta-info. This is useful for container detail pages, in which case it will return the Description of the detail, not the container page. Otherwise it just returns the value of the Description property.
opencms.keywords
The keywords of the document that should be used for the HTML keywords meta-info. This is useful for container detail pages, in which case it will return the Keywords of the detail, not the container page. Otherwise it just returns the value of the Keywords property.

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.