I submitted a post to the gwt contributors mailing list with a similar
issue:
https://groups.google.com/d/msg/google-web-toolkit-contributors/gUFkDIQ2TSE/Atjg5PZ6G4kJ
This is basically what is proposed in the Issue 6791.
Is there any progress on that issue yet, or are there any problems which
prevent this solution?
Regards,
Stefan
Am 22.12.2011 17:56, schrieb Thomas Broyer:
First, have you seen
http://code.google.com/p/google-web-toolkit/issues/detail?id=6719 ?
In your case, I think you could do it quite easily by:
1. not having the TextArea as a sub-editor
2. implementing ValueAwareEditor to push to the TextArea and make it
visible when the value is a SqlDataProvider in setValue, and pull
from it and push to the value in flush(); and similar things for
other kinds of values.
That unfortunately won't scale very well as you add other DataProvider
subclasses.
FWIW, in a similar scenario, we chose to not use the Editor framework
and handle everything "by hand" instead (but we had another challenge:
some structures are recursive; i.e. we could have a DataProvider that
would contain other DataProvider).
--
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/-/EsCldOjAMBgJ.
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.
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
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.