l

From Documentation
Revision as of 02:49, 28 March 2011 by Tomyeh (talk | contribs)
String l(String key);
i.e., CommonFns.getLabel(String)

Returns the label of the given key defined in the internationalization labels.

The label is based on the current Locale (Locales.getCurrent()).


For 5.0.7 and later, an implicit object called labels was introduced, and it is more convenient to use.

For example,

<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<window title="${c:l('app.title')}">
 ...
</window>

Version History

Last Update : 2011/03/28


Version Date Content
     



Last Update : 2011/03/28

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.