The label-location Element"

From Documentation
m
m
Line 13: Line 13:
 
<label-location>/WEB-INF/labels/invoice.properties</label-location>
 
<label-location>/WEB-INF/labels/invoice.properties</label-location>
 
</source>
 
</source>
 +
 +
Notice that, once specified, <tt>WEB-INF/i3-labels.properties</tt> is ignored. In other words, ZK loads only the files specified in the label-location element.
  
 
=Version History=
 
=Version History=

Revision as of 10:15, 28 March 2011


The label-location Element


Syntax:

<label-location>a_uri</label-location>
[Default: /WEB-INF/i3-label.properties]
[Since 5.0.7]

It specifies the location of the properties file for the internationalization labels. If you have multiple properties files, you could specify them one by one. For example,

<label-location>/WEB-INF/labels/order.properties</label-location>
<label-location>/WEB-INF/labels/invoice.properties</label-location>

Notice that, once specified, WEB-INF/i3-labels.properties is ignored. In other words, ZK loads only the files specified in the label-location element.

Version History

Last Update : 2011/03/28


Version Date Content
5.0.7 March 2011 This feature was introduced.



Last Update : 2011/03/28

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