-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I am very new to java & zk studio. I have a java program which returns me a collection or an array. I want to use zk studio to display my array contents. I want to add the array contents into a combo box in zkoss. Can someone help me how to go about this.
take a look this demo,
it contains an array and being put into a combobox
http://www.zkoss.org/zkdemo/userguide/#f5
I was able to take care of that... I am stuck at another point... I have 3 arraylists & I want to add them into a list each arraylist will go in one column. I did this but is not working... Can someone help
<listbox id="box" multiple="true" rows="25" width="90%">
<listhead>
<listheader label="Name" width="50%" />
<listheader label="Definition" width="20%" />
<listheader label="Date" width="30%" />
</listhead>
<listitem label="${each}" forEach="${lstNames}" />
<listitem label="${each}" forEach="${lstDef}" />
<listitem label="${each}" forEach="${lstDate}" />
</listbox>
I did this using beans... I am getting error below when I am populating the listbox with a date.
SEVERE: Failed to assign [label=${each.dateModify}] to <Listcell z_cp_d>
Unable to find a value for "dateModify" in object of class "org.zkoss.zkdemo.rochade.TestBean" using operator "."
Why this error? is there some special processing to be done for date?
Asked: 2009-04-07 09:35:41 +0800
Seen: 130 times
Last updated: Apr 08 '09