[ovirt-devel] GWT/Frontent - Looking for convinient way to seperate the "data" from "presentation" in combo boxes
lvernia at redhat.com
Sun Jun 15 06:16:35 UTC 2014
I think this is exactly what happens in our GUI in most list boxes.
The class ListModelListBox<T> renders the options for display using a
Renderer passed to its constructor, but getValue() returns the actual
selected item of type T rather than the String (and this in turn is what
is set as the selected item in the backing ListModel<T>).
Does this answer your question?
On 14/06/14 11:20, Yair Zaslavsky wrote:
> HI all,
> If you look at this link -
> It shows a selection in which you have a differentiation between the displayable value, and the "data" value (which will be sent as the "selected value").
> How can I do the same in GWT? At ListModel for example I saw methods only to add items.
> Devel mailing list
> Devel at ovirt.org
More information about the Devel