Revision history [back]

click to hide/show revision 1
initial version

asked 2015-05-27 04:10:32 +0800

kleponboy gravatar image kleponboy flag of Indonesia

http://stupidprogrammers....

GroupBox Caption Doesnt Show Up

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

GroupBox Caption Doesnt Show Up

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

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More