0

Where did Command and ComponentCommand go in ZK 5?

asked 2010-08-11 11:05:10 +0800

mogren gravatar image mogren
102 1

updated 2010-08-11 11:14:09 +0800

We ended up using and extending Command and ComponentCommand in our app under 3.6. What's the best way to upgrade to ZK 5 CE which apparently doesn't have these classes in the zk.jar anymore?

Thanks.

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2010-08-15 22:09:25 +0800

RyanWu gravatar image RyanWu
533 2
about.me/flyworld

take a look
ZK 5: Upgrade Notes

link publish delete flag offensive edit

answered 2010-08-16 09:43:15 +0800

mogren gravatar image mogren
102 1

Thanks, Ryan. I had already looked at the upgrade notes. I don't see anything in them about removal of the Command API.

link publish delete flag offensive edit

answered 2010-08-16 10:12:26 +0800

mogren gravatar image mogren
102 1

I spent a little time looking through the source code. Loosely speaking, is AuService the "replacement" for Command? Am I on the right track if I pursue that line?

Thanks.

link publish delete flag offensive edit

answered 2010-08-19 20:20:14 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Yes. Component#service() in each component will receive the "command" sent back from the client.

link publish delete flag offensive edit

answered 2010-08-23 09:34:31 +0800

mogren gravatar image mogren
102 1

Thanks, Henri.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2010-08-11 11:05:10 +0800

Seen: 420 times

Last updated: Aug 23 '10

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