thank Sjoshi, would you like to explain creating a object of viewmodel with a example
progamerdotcom ( 2013-07-10 03:22:12 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
If we use mvvm pattern, we found
@id('vm') -> using apostrophe
@init('com.foo.MyClass') -> using apostrophe
@load(vm.current) -> without apostrophe
@save(vm.current) -> without apostrophe
how to remember when we use apostrophe or without it, or the easy way to understand
thanks
From my understanding if you are accessing viewmodel variable in zul then you are doing vm.varaibleName
then in this case no need for Single quotes but when you creating a object of viewmodel ,firing a event then you have to add Single quotes.
thank Sjoshi, would you like to explain creating a object of viewmodel with a example
progamerdotcom ( 2013-07-10 03:22:12 +0800 )editAsked: 2013-07-09 12:18:41 +0800
Seen: 14 times
Last updated: Jul 09 '13
Databinding and auto-complete on combobox
Composite component and bind in ZK 6
How to detach / reattach MVVM windows?
Is there a way to resolve view model properties as input to client side javascripts?
How can I synchronize data in a ListBox in MVVM ? [closed]
MVVM Validator: class not found ? [closed]
How to Call Child ViewModel Method from Parent Window? [closed]