The current implementation of 'SelectionCell' only accepts a
'List<String>' to be used in the creation of the drop down 'select'
menu.

ie:
List<string> options = new ArrayList<String>()
options.add("option1");
options.add("option2");

SelectionCell cell = new SelectionCell(options);

When rendered this results in
<select....>
<option value="option1">Option1</option>
....
</select>

Given that in most cases, the human readable value does not match the
value submitted to the server, this class should allow for the more
traditional practice of having one value for the 'value' attribute of
the option element, and another value for the display value.

ie:
<select...>
<option value='ServerVal'> DisplayVal</option>
</select>

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

Reply via email to