Error on using ${labels.mylabel} with returning label=True or False

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major
    • 5.0.9
    • Affects Version/s: 5.0.8
    • Component/s: Components
    • None

      When using ${labels.item.value.true} or ${labels.item.value.false} in a component in my zul file to get my labels from properties 118n files, if the files contains the following values:
      item.value.true=True
      item.value.false=False

      I receive one of the following errors:
      org.zkoss.xel.XelException: Encountered "true", expected one of [<IDENTIFIER>]
      org.zkoss.xel.XelException: Encountered "false", expected one of [<IDENTIFIER>]

      A workaround is to use the old (<=5.0.7 versions) notation
      ${c:l('item.value.true')}
      ${c:l('item.value.false')}

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

              Created:
              Updated:
              Resolved: