-
FEATURED COMPONENTS
First time here? Check out the FAQ!
is there a way i can iterate a list for html li inside a single ul like this...
<h:ul >
<!--here should be the iterator which wil use @load(somelist) (not an element like a div or listbox)-->
<h:li>
<h:img src="@load(somelist.anyVariable)" />
</h:li>
-------iterator closed------------------
</h:ul>
please provide me some hint. please
here is my code of zul.
<div class="tab_scroll" >
<h:ul >
----here i need the iterator------
<h:li class="project_box">
<h:a class="month_g cboxElement" href="@load(inode.large)" title="@load(inode.imagename)">
<h:img src="@load(inode.thumb)" />
<h:div> Belvedere A Elevation 1 </h:div>
</h:a>
</h:li>
-----iterator closed-------
</h:ul>
</div>
<div class="tab_scroll" children="@load(vm.imgList)">
<h:ul >
<template name="children" var="inode">
<h:li class="project_box">
<h:a class="month_g cboxElement" href="@load(inode.large)" title="@load(inode.imagename)">
<h:img src="@load(inode.thumb)" />
<h:div> Belvedere A Elevation 1 </h:div>
</h:a>
</h:li>
</template>
</h:ul>
</div>
Asked: 2014-05-05 13:38:22 +0800
Seen: 62 times
Last updated: Jan 28 '15
How to print a popup window without printing the parent window
how can i refresh a perticular component on page
How to get HTML Components values into MVC Composer or MVVM View Model
embed zul file into html template
onBlur event is not sent when clicking on a Html component
Applet integration - How can i get the html tag id in javascript?
can't you set the children in the h:ul and then the template where your comment is?
chillworld ( 2014-05-05 13:47:28 +0800 )editi have done that, but it is not working.
sathishk ( 2014-05-05 14:03:09 +0800 )edit
chillworld ( 2014-05-05 14:18:57 +0800 )editvlayout
suport also the children attribute. Give that your satisfaction?vlayout is creating extra div elements inside ul . I need a simple iterator. please help
sathishk ( 2014-05-05 14:31:38 +0800 )editpost a little more code of the zul plz. Dont forget you can put the children higher in the hierarchy(so if you have somewhere there a div...).
chillworld ( 2014-05-05 14:36:37 +0800 )edit