
Hi Yair, 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? Yours, Lior. On 14/06/14 11:20, Yair Zaslavsky wrote:
HI all, If you look at this link -
http://www.w3schools.com/tags/tag_select.asp
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.
Thanks, Yair _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel