Labels.reset() won't clear the cache in which come from the ${labels} instance

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 5.0.9
    • Affects Version/s: 5.0.7
    • Component/s: None
    • None

      According to this example - http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Internationalization/Labels#Use_labels
      If you use the method of "org.zkoss.util.resource.Labels.reset();" to clear the cache, the labels instance still keeps the old value.

      For example,

      Test.zul,

      <button label="${labels.title}" onClick='org.zkoss.util.resource.Labels.reset();Executions.sendRedirect("")'/>

      i3-label.properties

      title=Test
      

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

              Created:
              Updated:
              Resolved: