Users will probably want to set the ordering of the values.  Letting users
define the type would be more useful.

A while back I started working on a ListBoxCell, which is a custom drop box
of options.  It allows selection of typed values, and you can render custom
options.  Hopefully we'll get it into a future GWT version.

Thanks,
John LaBanca
[email protected]


On Wed, Oct 13, 2010 at 12:22 PM, John Tamplin <[email protected]> wrote:

> On Wed, Oct 13, 2010 at 12:10 PM, John LaBanca <[email protected]>
> wrote:
> > Sound reasonable.  Can you open an issue to create a ValueSelectionCell
> that
> > takes an arbitrary type T and a SafeHtmlRenderer to convert the type T to
> a
> > String.
>
> A simpler option would be to accept Map<String,String> with the "key"
> the select value and the "value" what is displayed.
>
> --
> John A. Tamplin
> Software Engineer (GWT), Google
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to