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

namespace "shadow" doesn't work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • 9.0.0
    • None
    • None

      Steps to Reproduce

      run the code

      <zk>
          <vlayout xmlns:sh="shadow"   apply="org.zkoss.bind.BindComposer">
              <sh:apply template="desktop" />
      
              <sh:template name="desktop">
                  in namespace
              </sh:template>
          </vlayout>
          <vlayout   apply="org.zkoss.bind.BindComposer">
              <apply template="desktop" />
      
              <template name="desktop">
                  without namespace
              </template>
          </vlayout>
      </zk>
      

      Current Result

      print

      without namespace
      

      Expected Result

      print

      in namespace
      without namespace
      

      Debug info

      but <sh:apply templateURI="mypage.zul" /> works as expected.

            DevChu DevChu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: