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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:

                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