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

zk:zscript tag directly inside html or head tag no longer works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 8.0.0
    • 8.0.0
    • Components, ZHTML
    • None
    • Java 8 tomcat 7 zk 8.0.0-RC

    • ZK 8.0.1

      I noticed that for .xhmtl files, code used to work in zk 7 like

      (zscript tag directly inside head tag)

      <head>
      	<zk:zscript xmlns:zk="zk">var="someobject"</zk:zscript>
              <title>${var}</title>
      </head>
      

      has to be changed to the following to work in zk 8 RC

      (zscript inside div tag)

      <head>
      <div>
      	<zk:zscript xmlns:zk="zk">var="someobject"</zk:zscript>
              <title>${var}</title>
       </div>    
      </head>
      

            jumperchen jumperchen
            trongdd trongdd
            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 - 3 hours
                3h