-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.1
-
None
-
None
-
ZK 8.0.2 S2
background
using nested template to simplify zul when similar patterns are in two different templates, however template injection doesn't work with the nested template.
example
<zk> <vlayout> <template name="b1"> <grid> <rows> <row> <apply template="b2"/> </row> </rows> </grid> </template> <apply template="b0"/> <template name="b0"> <apply template="b1"> <template name="b2"> <label value="Test"/> </template> </apply> </template> </vlayout> </zk>
result
can't get template "b0", so there's no label inside the grid row.
expected
expected to inject template "b2" to get the label "Test" inside the grid row.