Revision history [back]

click to hide/show revision 1
initial version

answered 2018-01-15 14:34:08 +0800

cor3000 gravatar image cor3000

ZK Team

It sounds like you are calling your command methods directly from java code. In such case the @Command("saveThis") annotations are not evaluated and the @save doesn't trigger to save the form changes from the Proxy to the original object.

That's the expected behavior.

if you want to save the proxy changes to the original object from java you have to call:

((FormProxyObject)this.myForm).submitToOrigin()

It sounds like you are calling your command methods directly from java code. In such case the @Command("saveThis") annotations are not evaluated and the @save @save(vm.myForm, before='saveThis') doesn't trigger to save the form changes from the Proxy to the original object.

That's the expected behavior.

if you want to save the proxy changes to the original object from java you have to call:

((FormProxyObject)this.myForm).submitToOrigin()
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More