-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello I reload the data in a window in aprticolare I have a forEach loop hce I view a list of items and I would like to reload the data when the value of an item.
How can I do?
window id="winDashboard" apply="it.xxx.xxx.controller.dashboard.DashboardController" border="normal" width="95%" height="95%" minheight="400" sclass="sysWin" mode="overlapped" contentStyle="overflow:auto" position="center" closable="true" sizable="true">
<hbox spacing="15px">
<groupbox id="${each.utente.matricola}" width="200px" forEach="${winDashboard$composer.utentiCollegati}" >
<caption><image src="/imgs/Workers-80.png" width="20px"/> Matricola : ${each.utente.matricola}</caption>
<grid>
<columns>
<column label=""/>
</columns>
</grid>
</groupbox>
</hbox>
</div>
</center>
</borderlayout>
<label id="now" />
<timer id="timer" delay="1000" repeats="true" onTimer="now.setValue(new Date().toString())" />
Hello lesposito,
The best way is to use notify change as shown below:
http://books.zkoss.org/zk-mvvm-book/8.0/viewmodel/notification.html
https://www.zkoss.org/wiki/User:Hawk/CreateDataBinding_Programmatically
Best Regards,
Darksu
Asked: 2016-04-29 14:37:38 +0800
Seen: 25 times
Last updated: Apr 29 '16
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status