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

namespace "shadow" doesn't work as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 9.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: