On 07/05/2010 07:28 PM, UncleBob wrote: > I sent a version of the note below to the GWT Rich-Text Editor group. > But then I noticed that there are a number of discussions of RichText > in this much larger group. I need all the help I can get ;-) > ==================================================== > > I would like some guidance on how to go about designing an app that > would do things such as the following: > > The server downloads text, as an array (Collection) of tokens > (Strings), which would be displayed in the text area. > Other arrays of information would be downloaded that could be used to > decorate the text. > For example, say we downloaded information about which of the tokens > or token groups are the names of companies. > The user would have a menu that includes the item "Companies". > When that menu item is selected, the text for the companies would be > highlighted in red.
My initial response was "Don't use a RichTextArea (RTA) for this." After re-reading the post, I think what you want to accomplish is outside the scope of the GWT RTA widget. Have you looked at TinyMCE? http://en.wikipedia.org/wiki/Tinymce It's probably going to give you more horsepower than the GWT RTA. > The basic question for this type of app is: How do I access particular > Strings and alter their styling? > Is DOM the way to go? > In the dual problem, how would I discover a String that the user has > selected and designated as a company - one that was not on the > original list? > The String chosen would be returned to the server to update its list > of company names. > > This type of application is typical of many apps that would be of > great benefit to researchers in natural language processing. > There are about 600 members of the mailing list at my site, > bionlp.org, many of who would be interested in such apps. > > Any and all suggestions, leads, etc., most welcome. > > - Bob > > -- 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.
