-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I am trying to analyse one of the demos published on ZK Framework site - the data filter one. I understand that it represents MVVM model, and zul file has commands to bind zul with viewModel. I am getting confused though with line 4 in zul: <grid model="@load(vm.foodModel)"> Not sure where the foodModel property is defined in FilterViewModel class? Is that because it is mention in @NotifyChange?
I realise it might me a basic question, but I would appreciate any explanation. Thank you.
Hello anetkia102,
In order to better understand the mvvm design pattern please refer to the following url:
http://books.zkoss.org/wiki/ZKDeveloper%27sReference/MVVM
And regarding your question please refer to the following url:
http://books.zkoss.org/wiki/ZK%20Developer's%20Reference/MVVM/ViewModel/Data%20and%20Collections
Best Regards,
Darksu
Asked: 2015-01-29 16:59:14 +0800
Seen: 14 times
Last updated: Jan 29 '15