Threaded View
-
23 Oct 2011 6:21 AM #1
[FNR] Question, small bugs and to do remindes for dp5
[FNR] Question, small bugs and to do remindes for dp5
1) How can I get index of selected item from combo box after I selected an item?
2) How can I get index or value of selected item from combo box from "outside"?Code:final ComboBox<State> combo = new ComboBox<State>(states, props.name()); combo.addValueChangeHandler(new ValueChangeHandler<State>() { @Override public void onValueChange(ValueChangeEvent<State> event) { //event.getValue() is ok //combo.getValue() I get always null } });
3) ComboBox: setForceSelection doesn't workCode:final ComboBox<State> combo = new ComboBox<State>(states, props.name()); Button button = new Button("GetValue", new ClickHandler() { @Override public void onClick(ClickEvent event) { //combo.getValue() returns selected item string, not even proper type of declared generic field } })
4) ComboBoxselect(int index) and combo.select(T item) doesn't work,
5) TabbedPanel setPlain(true) doesn't work,
6) No grid plugins (row numberer, expander, ...)
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote