-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hallo, everyone..
How to create Biglist template programmatically with Java not ZUL, template structure like that zul script
<biglistbox id="myComp" hflex="1" vflex="1" xmlns:w="client" w:onscroll="jq('$tip').fadeOut();">
<template name="heads">
<html><![CDATA[
<div class="images_${matrixInfo[0]%28}" title="x=${matrixInfo[0]},y=${matrixInfo[1]}">
${each[matrixInfo[0]]}
</div>
]]></html>
</template>
<template name="rows">
<html><![CDATA[
<div class="images_${matrixInfo[0]%28}" title="x=${matrixInfo[0]},y=${matrixInfo[1]}">
${each[matrixInfo[0]]}
</div>
]]></html>
</biglistbox>
if someone can help, please help :)
thanks
All tags in a zul do have a java class behind.
So actually its something like :
BigListBox box = new BigListBox();
Template heads = new Template();
heads.setParent(box); // or use box.appendChild
heads.setName("heads");
....
Chill.
Asked: 2018-01-25 22:00:08 +0800
Seen: 9 times
Last updated: Jan 25 '18
ZK, AngularJS and Pure HTML Template
Template like functionality for a single value?
Conditional Template and GroupModel not working.
ZK Framework using template files
Center template using every page
MVC Modify model object in zul
Templating and Including Another Webpage (or another ZK app) in Frame