namespace "shadow" doesn't work as expected

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Normal
    • None
    • Affects Version/s: 9.0.0
    • Component/s: None
    • 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.

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

              Created:
              Updated:
              Resolved: