0

doAfterCompose and render problem

asked 2011-02-25 07:12:21 +0800

yohann gravatar image yohann
57

Hi all,

I'am using a list box which is populated with model and render in the doAfterCompose. I need to get the value of the listitem during the doAfterCompose call but the method render() which set the value is called after doAfterCompose, so my value is null during doAfterCompose. I'am using ZK5, with a zul file and a java controller.
Is someone help me please ?

Yohann

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-02-25 07:33:33 +0800

yohann gravatar image yohann
57

In fact, my problem is that the render() method is not called during the setItemRenderer() for a listbox. For a tree, the setTreeitemRenderer() call immediately the render() method and this works fine.
Is this a bug for Listbox ?

Yohann

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: 2011-02-25 07:12:21 +0800

Seen: 251 times

Last updated: Feb 25 '11

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