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

template composition not working as described

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0, 6.5.4
    • Fix Version/s: 7.0.1
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: