-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.0
-
None
-
None
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>