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"));