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.

Reply via email to