Change storage class for LabelLoader object

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: 7.0.4
    • Component/s: General
    • Environment:

      all

    • None

      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

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

              Created:
              Updated: