|
[Alkacon Documentation]
OpenCms Scriptlet docs
Contents
Documentation for the user() method
Test for the user() method
Documentation for the property() method
Test for the property() method
Documentation for the link() method
Test for the link() method
* Documentation for the label() method
Test for the label() method
Documentation for the img() method
Test for the img() method
Documentation for the editable() method
Documentation for the include() method
Test for the include() method
Test for the include() method with parameters
Documentation for the template() method
Test for the template() method
JSP page with two simple template elements
Documentation for the info() method
Test for the info() method
Documentation for the getNavigation() method
Test for the getNavigation() method
|
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"));
|
|