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

include.src binding cause viewmodel loaded again

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • 6.5.4
    • Databind 2
    • None

      <window
      apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('com.TheModel')" >
      <include src="@load(vm.url)" />
      </window>

      class TheModel {

      def url = 'somepage.zul'

      @Init
      void init()

      { println this // print twice every page load }

      }

            Unassigned Unassigned
            easonli easonli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: