template composition not working as described

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 7.0.1
    • Affects Version/s: 7.0.0, 6.5.4
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: