Client MVVM: Support widget properties in command expression

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 10.0.0
    • Affects Version/s: 10.0.0.FL
    • Component/s: Client MVVM
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      Support using id and "self" when evaluating expressions

      Like

      <button label="test" onClick="@command('test', p1=self.label)" />
      

      self, self.prop, self.parent, ... (shall update in the issue)

      widget id:
      zephyr-test/mvvm/book/databinding/form/F2.zul

      Current Result

      not support in Client MVVM

      Expected Result

      Shall work

      Debug Information

      Ref: 'self'
      B80-ZK-3084.zul

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

              Created:
              Updated:
              Resolved: