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

Binding model and template to components not supporting model

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.0
    • None
    • Components, Databind 2
    • None

      http://www.zkoss.org/forum/listComment/17871-ZK6-Bind-and-Template-component

      Is it possible to use the template component along with databind and model in components that not supports model?
      Example:

       
      <div model="@bind(vm.myList)">
        <template name="model" var="item">
          <button label="@bind(item)" />
        </template>
      </div>
      

      P.S. Feel free to change the title with a better one

            dennis dennis
            mbarbieri mbarbieri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: