Revision history [back]

click to hide/show revision 1
initial version

answered 2013-02-19 06:44:32 +0800

dennis gravatar image dennis

http://www.javaworld.com....

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]

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]

attr = @load(expression,after='cmd') : load the expression to attr after the 'command' cmdcommand '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

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More