0

could binder.sendCommand return a result of Validation?

asked 2013-11-24 13:45:53 +0800

every gravatar image every
1

I have a zul with mvvm binder,just name it "inner.zul" it have many validator to ensure correct input. and there is other zul file,which use "include src='inner.zul' " to ref inner.zul and have a button with command "doIt" now I want click the command "Doit" and validate inputs in the inner.zul, then get viewModer of inner.zul . I find the command binder.sendCommand() could do it, but it return void,whatever validation is success or fail. Is there any method to know the validation's status? I think sendcommand() could return a result to indicate the status.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-11-24 13:45:53 +0800

Seen: 4 times

Last updated: Nov 24 '13

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