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

Break line merge problem in zul file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: None
    • Labels:
      None

      Description

      The following cases should be the same:
      Case1:
      <zk xmlns:sh="shadow">
      <div id="host" apply="org.zkoss.bind.BindComposer">
      <sh:apply template="with-params" param1="AAA" param2="BBB" param3="@ref('CCC-ref')" param4="DDD" />
      <sh:apply template="with-params" param1="AAA" param2="BBB" />
      <sh:apply template="with-params" param1="AAA" param2="BBB2" />
      <sh:apply template="with-params" param1="AAA" />
      <sh:apply template="with-params" param1="AAA" param3="CCC3"/>
      <template name="with-params">
      <sh:apply template="nested">
      <template name="nested">
      <div>
      <label value="@load(param1)"/>
      <label value="@load(param2)"/>
      <label value="@load(param3)"/>
      <label value="@load(param4)"/>
      </div>
      </template>
      </sh:apply>
      </template>
      </div>
      <div>
      <label value="12"/>
      <label value="22"/>
      <label value="33"/>
      </div>
      </zk>
      Case2:
      <zk xmlns:sh="shadow">
      <div id="host" apply="org.zkoss.bind.BindComposer">
      <sh:apply template="with-params" param1="AAA" param2="BBB" param3="@ref('CCC-ref')" param4="DDD" />
      <sh:apply template="with-params" param1="AAA" param2="BBB" />
      <sh:apply template="with-params" param1="AAA" param2="BBB2" />
      <sh:apply template="with-params" param1="AAA" />
      <sh:apply template="with-params" param1="AAA" param3="CCC3"/>
      <template name="with-params">
      <div>
      <sh:apply template="nested">
      <template name="nested">
      <label value="@load(param1)"/>
      <label value="@load(param2)"/>
      <label value="@load(param3)"/>
      <label value="@load(param4)"/>
      </template>
      </sh:apply>
      </div>
      </template>
      </div>
      </zk>

        Attachments

          Activity

            People

            • Assignee:
              DevChu DevChu
              Reporter:
              DevChu DevChu
            • 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 - 4 hours, 30 minutes
                4h 30m