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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.6.0.1
    • Fix Version/s: 9.6.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: