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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: Components, ZHTML
    • Labels:
      None
    • Environment:

      Java 8 tomcat 7 zk 8.0.0-RC

    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      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>
      

        Activity

        Hide
        jumperchen jumperchen added a comment -

        Bug fixed since 2015/05/28

        Show
        jumperchen jumperchen added a comment - Bug fixed since 2015/05/28

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            trongdd trongdd
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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

                Agile