0

load a combo after page is loaded

asked 2010-02-16 03:25:00 +0800

scerro gravatar image scerro
273 3 9
www.desarrolloagil.es

Hi friends!

I would like to know How to load a combobox after the page (.zul) is loaded.
The combobox is into a grid component. I am implementing the Initiator class in the controller for using the doAfterCompose method but it is not correct because the grid and any other component is still created.
Could you help me?

thanks in advance!

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-02-17 03:36:31 +0800

scerro gravatar image scerro
273 3 9
www.desarrolloagil.es

thank you narko!

link publish delete flag offensive edit

answered 2010-02-16 19:55:06 +0800

n4rk0 gravatar image n4rk0
120 3

You can use Combobox.setModel() and give it a ListModel or a SimpleListModel or a custom Model developed by you.

Regards,

link publish delete flag offensive edit

answered 2010-02-16 03:32:11 +0800

TOtte gravatar image TOtte
93 2

How is the combobox filled? Do you use a databinding? Are the contents of the combobox dependend on another component in the grid?
Maybe you could post somde code.

Best regards
Tobias

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-02-16 03:25:00 +0800

Seen: 242 times

Last updated: Feb 17 '10

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