I have a combo box with a list of values. The ComboBox is not bound to the datasource. I have an onClick event on the combo box and I need to know what value was selected. I can do a getComponent("comboBox1").getValue() but I know this is the least efficient way to access a control value. Is there a better way to access the value selected?
I would bind the combobox to to a viewScope variable. Easy to access and use in other places. But there is alot of ways to get the value but this is the way I prefer.