Lada
10 Jan 2011, 7:47 AM
Hi all!
I have a problem with a combobox case mutated from the Advanced Combobx Example. What I want to do is to help the user to fill some form fields after a selection has been made on the combobox. Start writing on Country field triggers the combobox and when a selection has been made, the other fields are populated through a service call. Everything goes right and the binding works well (press the button to see the bean values). But if a user speedy fills the country field without triggering the combobox, the binding reports null as country value. I know that if the combobox doesn't trigger may be binding cannot be done, but there is a solution for this problem?
TIA!
I have a problem with a combobox case mutated from the Advanced Combobx Example. What I want to do is to help the user to fill some form fields after a selection has been made on the combobox. Start writing on Country field triggers the combobox and when a selection has been made, the other fields are populated through a service call. Everything goes right and the binding works well (press the button to see the bean values). But if a user speedy fills the country field without triggering the combobox, the binding reports null as country value. I know that if the combobox doesn't trigger may be binding cannot be done, but there is a solution for this problem?
TIA!