-
FEATURED COMPONENTS
First time here? Check out the FAQ!
![]() | 1 | initial version | |
attr = @load(expression,after='cmd') : load
the expression to attr after
the 'command' cmd
attr = @save(expression,before='cmd') : save
the attr to expression to attr before
the command
'cmd'
and after & before are all evaluated after the validation and command execution.
we usually use before='cmd' on @save and use @load after='cmd' or both without condition (how ever you could still use @save after='cmd' or @load before='cmd' just by case)
please read (document)[http://books.zkoss.org/wiki/ZKDeveloper%27sReference/MVVM/DataBinding/CommandBinding]
![]() | 2 | No.2 Revision |
attr = @load(expression,after='cmd') : load
the expression to attr after
the 'command' cmd
attr = @save(expression,before='cmd') : save
the attr to expression to attr before
the command
'cmd'
and after & before are all evaluated after the validation and command execution.
we usually use before='cmd' on @save and use @load after='cmd' or both without condition (how ever you could still use @save after='cmd' or @load before='cmd' just by case)
please read (document)[http://books.zkoss.org/wiki/ZKDeveloper%27sReference/MVVM/DataBinding/CommandBindingdocument]
![]() | 3 | No.3 Revision |
attr = @load(expression,after='cmd') : load
the expression to attr after
the 'command'
'cmd'cmdcommand
attr = @save(expression,before='cmd') : save
the attr to expression to attr before
the command
'cmd'
and after & before are all evaluated after the validation and command execution.
we usually use before='cmd' on @save and use @load after='cmd' or both without condition (how ever you could still use @save after='cmd' or @load before='cmd' just by case)
please read document