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

The timing of @Init on viewmodel is not so correct.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.2
    • None
    • Databind 2
    • None

      in this case:
      <div apply="org.zkoss.bind.BindComposer"
      viewModel="@id('vm') @init('a.b.AVm')">
      <div apply="org.zkoss.bind.BindComposer"
      viewModel="@id('vm2') @init(vm.vm2)">

      the inner vm2 declaration won't work because when EL tried to retrieve 'vm2' from 'vm', vm was not initialized yet.

      need to find a better solution for binderComposer vm init.

            Unassigned Unassigned
            iantsai iantsai
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: