-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi, I have an issue ,the caption in the groupBox component doesnt show up when its have template component.
<groupbox children="@load(vm.totalTonnage)">
<caption label="Total"/> <!-- Doesn't Show -->
<template name="children">
<vbox>
<hbox>
<zk if="${each[2] eq 'K1'}">
<label value="${each[1] }" />
<space />
<textbox value="${each[0]}" />
</zk>
</hbox>
<separator />
</vbox>
</template>
</groupbox>
but when remove the template component inside the group box, the caption does show up.
<groupbox>
<caption label="Total"/> <!-- Does Show -->
<label value="Some Text">
</groupbox>
any ideas why this is happen, and how to fix it ?
Regards,
Klepon
2 | No.2 Revision |
Hi, I have an issue ,the caption in the groupBox component doesnt show up when its have template component.
<groupbox children="@load(vm.totalTonnage)">
<caption label="Total"/> <!-- Doesn't Show -->
<template name="children">
<vbox>
<hbox>
<zk if="${each[2] eq 'K1'}">
<label value="${each[1] }" />
<space />
<textbox value="${each[0]}" />
</zk>
</hbox>
<separator />
</vbox>
</template>
</groupbox>
but when remove the template component inside the group box, the caption does show up.
<groupbox>
<caption label="Total"/> <!-- Does Show -->
<label value="Some Text">
</groupbox>
any ideas why this is happen, and how to fix it ?? I'am Using ZK 7.0.2
Regards,
Klepon