-
New Feature
-
Resolution: Done
-
Normal
-
None
1. No need to define view model id, the view model id will be 'vm' by default.
Old | New |
---|---|
viewModel="@id('vm') @init('...')"
|
viewModel="@('...')"
|
2. No need to define @Command in ViewModel
3. Instead of @BindingParam, use the order of the parameters
Old | New |
---|---|
onClick="@command('doClick', aa=123, ss=1, bb='asssas,sa2')"
|
onClick="@('doClick', 123, 1, 'asssas,sa2')"
|
4. Provide shortcut for MVVM expression in ZUL
Old | New |
---|---|
@init(vm.aaa) |
@(vm.aaa) |
@command('cmd')
|
@('cmd') //auto bind in event (ex. onClick, onXxx...)
|
- relates to
-
ZK-4688 A null parameter passed to a global command causes ClassCastException
- Closed
-
ZK-4723 simplified MVVM binding cause non-command method with same name in different VM to trigger on @global-command
- Closed
-
ZK-4726 Cannot pass a parameter without @BindingParam
- Closed
-
ZK-5018 Enhance simplified MVVM syntax
- Closed