0

Difference between Window.getDesktop() and Executions.getCurrent().getDesktop()

asked 2009-01-27 10:25:48 +0800

Luuzz gravatar image Luuzz
109 1

Hello,
I'd like to know the didderence between Window.getDesktop() and Executions.getCurrent().getDesktop() methods .
Thanks.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-01-27 13:28:04 +0800

hideokidd gravatar image hideokidd
750 1 2

updated 2009-01-28 07:58:46 +0800

Hi,

these two methods return the same desktop if current pages are identical, the former is proper to be called when there is a window component in zul page, the later is called by Implicit Objects, their scales are different.

Implicit Objects provide many convinent methods as ZK components can do, you will find other cases like this.

Thanks.

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: 2009-01-27 10:25:48 +0800

Seen: 226 times

Last updated: Jan 27 '09

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