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

Shadow element doesn't resolve page-level imported classes static members as dynamic values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 9.6.1
    • 9.6.0.1
    • None
    • Security Level: Jimmy

      Steps to Reproduce

      https://zkfiddle.org/sample/t8u6bn/4-Another-new-ZK-fiddle

      Current Result

      Directly using the static member of the imported class in EL value works

      passing that static member to a shadow element's dynamic value with EL doesn't works (resolves to null)

      using the static member of the imported class in a custom attribute, and passing that custom attribute in shadow element's dynamic value with EL works

      Expected Result

      Imported class's static member can be used in shadow element's with EL

      Debug Information

       

      Workaround

      put the value to a custom-attribute, use custom attribute in shadow element's dynamic value

            jumperchen jumperchen
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: