-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4023580
By: lou1
I need to know th Id of the selected comboitem in a combobox. But the getSelectedItem or onSelect event doesn't exist.
do you know how can i do ?
Maybe an onSelect event could be added to the Combobox component.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4024509
By: henrichen
Please post to Feature Request.
/henri
Hello, Please Help me Please
I like selected Item in ComboBox but have problem.
////zul. <combobox id="cboDepartament" autodrop="true" mold="rounded" model="@{idWin$composer.ListDepartament}" selecteditem="@{idWin$composer.formDepartamentSelected}"> <comboitem self="@{each='FormDepartament'}" label="@{FormDepartament.nameDepartament}" value="@{FormDepartament.codDepartament}"/> </combobox>
.java
recovery departament for country selected
public void departamentSelected(){ cboDepartament.getItems().clear(); cboDepartament.getChildren().clear(); cboDepartament.setText(""); formDepartamentSelected = null; getFormListDepartament(); //recovery list departament //Ok ListModelList lm3 = new ListModelList(formListDepartament); //Ok cboDepartamento.setModel(lm3); //OK
//recovery value of codDepartament the listItem selected formDepartamentSelected = listGridSelect.getcodDepartament()
but not position in ComboBox in .zul getItem() = null How recovery in .zul the ItemSelected if I not selected Item in .zul but have the value
}
Please help me. thank you
Asked: 2006-11-21 13:57:26 +0800
Seen: 148 times
Last updated: Apr 13 '13