Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2654

Change storage class for LabelLoader object

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.4
    • General
    • all

      Is it possible to change the storage class for org.zkoss.util.resource.Labels._loader from static to, for example, a WebApp attribute. This would allow, each application registered their own Labeloader in the file zk.xml as library-property.

      I want to specify labels dynamically at runtime, in example by an online translator or from a database if necessary. For this purpose, each call for LabelLoader.getLabel () must be handled through my subclasses.

      Kai

            Unassigned Unassigned
            khcyt khcyt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: