-
FEATURED COMPONENTS
First time here? Check out the FAQ!
This is my CODE but not working yet, LOL, help me, thank you.
@Wire("#comboboxWithWire") private Combobox comboboxWithWire; String WithWire;
@Command public void save() { try { TWithWire = comboboxWithWire.getSelectedItem().toString();
model.setWithWire(TWithWire);
modelService.save(model);
}
catch (Exception e)
{
// TODO: handle exception
}
}
Zul code like this :
<combobox id="comboboxWithWire" onselect="@command('save')"><comboitem label="My Item Combobox"/></combobox>
Thank you help.
Asked: 2012-12-30 17:36:10 +0800
Seen: 49 times
Last updated: May 09 '13