Suppose you have a zul file. You must have a <zk> </zk> tag which contains contents of you zul file.
First you must add something like this in your <zk> tag :
<zk xmlns:h=”native”>
….
</zk>
Then you can add some html tags in among your zul tags by using h: before them. for example this is a table with some columns and rows within a zk <hbox></hbox> and also you can put some zk tags in this html tags as i put a button here in a cell of table:
<zk xmlns:h=”native”>
….
<hbox id=”zk-hbox-id” visible=”true”>
<h:table id=”html-table-id”>
<h:tr>
<h:td>
First Column
</h:td>
<h:td>
Second Column
</h:td>
</h:tr>
<h:tr>
<h:td>
<button id=”zk-yes-id” label=”Yes” sclass=”zk-sclass” />
</h:td>
<h:td>
<button id=”zk-no-id” label=”No” sclass=”zk-sclass” />
</h:td>
</h:tr>
</h:table>
</hbox>
….
</zk>
Discuss This Question: 1  Reply
Software/Hardware used:
Eclipse IDE