0

afterCompose() doesnt get called with Panel ??

asked 2008-11-07 03:11:34 +0800

umanga gravatar image umanga
180 3

Hi guys,
I am new to ZK..I have extended org.zkoss.zul.Panel and implemented Aftercompose interface.Because I want to access getPage().getWebApp().... methods in component construction..
But i noticed that the method afterCompose() doesnt get invoked...?
Could you guys help me on this?

Thanks in advance,
umanga

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-11-07 03:21:21 +0800

umanga gravatar image umanga
180 3

i found a solution guys..
In the constructor,i added a eventlistner to the panel...


this.addEventListener(Events.ON_CREATE, new EventListener(){....});

link publish delete flag offensive edit

answered 2008-11-07 06:18:26 +0800

dennis gravatar image dennis
3679 1 6
http://www.javaworld.com....

I think this is a right work around , I did this in one of my personal component.
However it should handle by ZK core think,
I post a feature request here , https://sourceforge.net/tracker2/?func=detail&aid=2232872&group_id=152762&atid=785194

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: 2008-11-07 03:11:34 +0800

Seen: 160 times

Last updated: Nov 07 '08

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