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.

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

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