0

How to create Biglist template programmatically with Java not ZUL

asked 2018-01-25 22:00:08 +0800

Hardiansa gravatar image Hardiansa
1

updated 2018-01-25 22:00:53 +0800

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

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-25 22:12:53 +0800

chillworld gravatar image chillworld flag of Belgium
5357 4 9
https://github.com/chillw...

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.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2018-01-25 22:00:08 +0800

Seen: 9 times

Last updated: Jan 25 '18

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