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

template composition not working as described

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.1
    • 7.0.0, 6.5.4
    • Components
    • Security Level: Jimmy
    • None

      following the Templation Composition example with included fragments does not insert the fragments in the template correctly, as the attached examples highlight.

      template-page-inline-fragments.zul
      works -> fragments are inserted into the red and blue boxes

      template-page-included-fragments.zul
      fails -> fragments are NOT inserted into the red and blue boxes, and are rendered outside instead

      template-page-inline-surrounded-fragments.zul
      fails in the same way as included version (invalid use case?) -> fragments are NOT inserted into the red and blue boxes, and are rendered outside instead

      the last case with the surrounded fragments creates the same issue as the included version.
      include and surrounded version behave the same, indicating a problem with the recommended include version

      http://books.zkoss.org/wiki/ZK_Developer's_Reference/UI_Patterns/Templating/Composition#Grouping_Fragments_into_Separated_Files

            RaymondChao RaymondChao
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: