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

InputElement width not set when component is built by macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.5.1
    • Component/s: Components
    • Labels:
      None
    • Environment:

      ZK > 5.0.7.1 (including 5.0.11 and 6.0 and 6.5)
      Apache Tomcat 6
      Google Chrome 19-20-21-22

      Description

      Hello

      Until ZK 5.0.7.1 you could set the width of components in ZUL files, and call these files as macro in Java code, resulting in correct width set for these components.
      After 5.0.7.1, the width is not set as specified in ZUL files, when calling the macro from Java code.
      The behaviour is the same if Java code is compiled in classes or inline in ZUL files, so ZUL files are provided as example to ease debugging.

      Correctly working ZK version: 5.x until 5.0.7.1
      Bad working ZK version: any release after 5.0.7.1 including 5.0.11 and 6.0 and 6.5

      The code attached reproduces the problem every time.
      Screenshots of browser included.

      Thank you
      Regards
      gl

        Attachments

        1. test.zul
          0.8 kB
        2. testwindow.zul
          1 kB
        3. zk5.0.11.jpg
          zk5.0.11.jpg
          43 kB
        4. zk5.0.7.1.jpg
          zk5.0.7.1.jpg
          42 kB
        5. zk6.5.jpg
          zk6.5.jpg
          43 kB

          Activity

            People

            Assignee:
            vincentjian vincentjian
            Reporter:
            prometeo prometeo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: