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

@ScopeParam with scopes = Scope.AUTO would look up an attribute in Execution scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 8.6.0
    • 8.5.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S1

    Description

      Steps to Reproduce

      1. run the attached zul
      2. check <label value="@load(vm.value)"/>

      Current Result

      renders nothing.

      Expected Result

      should render through @ScopeParam: value in execution, be consistent with EL resolving result.

      Debug Information

      • the EL expression ${exec} can resolve the attribute exec in execution scope.
      • vm.value is from @ScopeParam(scopes = Scope.AUTO, value = "exec")

      Alternative

      use @ExecutionParam

      Attachments

        1. scopeParam.zul
          0.4 kB
          hawk
        2. ScopeParamVM.java
          0.5 kB
          hawk

        Activity

          People

            klyvechen klyvechen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Remaining Estimate - 6 hours
                6h
                Logged:
                Time Spent - Not Specified Time Not Required
                Not Specified