Hi Thomas,
Currently we are using *SimpleEditorDriver* to bind data into our *UI*. We
are facing a few problems in it
1. We can only bind a single property at a time, say like we cant bind a
list of data to DataGrid/ComboBox , we have to set the *List* data through
a separate method,
databinding can happen only for a single property, using *driver.edit(model),
*here we are passing only one property. Which again makes us pass the List
of data to the widget(say in ValueListBox we have to set the
*
*
*void setOneListBox(List<One> models)*
*{*
*//oneListBox is the ValueListBox*
*
*
*
*
* oneListBox.setAcceptableValues(models);*
*}*
*
*
*
*
Now again if I have 4 ValueListBoxes I will have to write 4 different
methods to set data into all our ValueListBoxes, some thing like this,
*void setTwoListBox(List<Two> models)*
*{*
*//* *twoListBox* * is the ValueListBox* *
*
* twoListBox.setAcceptableValues(models);*
*}*
*void setThreeListBox(List<Three> models)*
*{*
*//* *threeListBox* * is the ValueListBox* *
*
* threeListBox.setAcceptableValues(models);*
*}*
*
*
*void setFourListBox(List<Four> models)*
*{*
*//* *fourListBox* * is the ValueListBox* *
*
* fourListBox.setAcceptableValues(models);*
*}*
I will have the same problem when we have to deal with DataGrid.
How can we avoid this using *EditorFrameWork* ??
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/fYa7sL76CRgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.