Sunday, July 27, 2014

Re: Text markup (XML) parser in GWT?

Example: through the tag name I can specify the widget that needs to be created that can consists of several div elements...... (pretty powerful, I like using it).

I have once done a questionnaire that way and also wanted some special widgets in the final panel. To do so the server has generated placeholder <div data-widget-placeholder="textinput"> tags which the client then replaced with real widgets using HTMLPanel.addAndReplaceElement(). That way we added auto-sizing text areas, date boxes with date picker attached, etc.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment