Combobox and Datanbinding fires no event

asked 2010-02-14 16:12:57 +0800

andij62 gravatar image andij62
307 1 7

updated 2010-02-15 06:47:04 +0800

Hallo all,

i have a combobox with databinding. When the combobox gets new data about databinding, no onChange-event is fired. When the combobox have an determined value i will set another combobox to visible or not.

Anyone have an idea?


delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-02-15 06:55:08 +0800

andij62 gravatar image andij62
307 1 7

how can i determine if the value from the combobox has changed?

link publish delete flag offensive edit

answered 2010-02-16 03:29:01 +0800

TOtte gravatar image TOtte
93 2

I am also very new to ZK so my answer may be wrong, but I will try anyway.

I think without some kind of server push you won't just get new data into the combobox. Even if there is a databinding on it, it will not check for new data nonstop. So how do you get the new data into the combobox? If you are using load-after: 'xxx.onClick' or something like that, then you could try to do the check within that onClick method that is triggering the combobox databinding.

How did you define the value of your combobox? are you using the value of the selected item?

It would be helpful if you could post some code so that it is easier to see what you are trying to do.

Best regards

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




Asked: 2010-02-14 16:12:57 +0800

Seen: 214 times

Last updated: Feb 16 '10

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