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

whitespace issue with shadow element and native element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.0
    • 8.0.0
    • Components
    • Security Level: Jimmy
    • None
    • tested in eclipse with maven / jetty, with 8.0.0.FL.20150811-Eval

    • ZK 8.0.1

      [example attached]
      when using a shadow element inside a native element, whitespaces in the zul file cause the following exception to be thrown :
      HTTP ERROR 500

      Problem accessing /ShadowENativeBug/. Reason:

      Only accept template and shadow element to be a child of [shadow element(customComp)]
      Caused by:

      java.lang.IllegalStateException: Only accept template and shadow element to be a child of [shadow element(customComp)]
      at org.zkoss.zk.ui.metainfo.ShadowInfo.appendChild(ShadowInfo.java:198)

        1. customComp.zul
          0.1 kB
        2. index.zul
          0.7 kB

            christopherszu christopherszu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h