<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

Documentation for the label() method

OpenCms logo - Forward >>

The label() method

This method provides access to read the localized strings from the OpenCms workplace language property files.

Note: Only use this method if you want to extend the OpenCms workplace.

Parameters:

Name Description
java.lang.String label The key of a localized string in the resource bundles.

Example usage:

Read the value of the flex.cache.label.title key.

org.opencms.jsp.CmsJspActionElement cms = new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);

out.println(cms.label("flex.cache.label.title"));

©2005 Alkacon Software GmbH (http://www.alkacon.com) - The OpenCms experts