What do you mean by "a form in JSON format", and "render this JSON data" ?

BTW, besides other responses whose authors plug their own projects, GWT 
proper can do it too:

You can:

   1. define JavaScriptOverlay 
types<http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html>
   2. parse JSON using 
JsonUtils.safeEval<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/JsonUtils.html#safeEval(java.lang.String)>

Or you can:

   1. define AutoBean 
interfaces<http://code.google.com/p/google-web-toolkit/wiki/AutoBean> and 
   an AutoBeanFactory
   2. GWT.create() your AutoBeanFactory
   3. parse JSON using 
AutoBeanCodex.decode<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/web/bindery/autobean/shared/AutoBeanCodex.html#decode(com.google.web.bindery.autobean.shared.AutoBeanFactory,
 
   java.lang.Class, java.lang.String)>


As for the "rendering" part, well, if you're talking about "form data" 
(rather than form fields' description), have a look at the Editor 
framework<http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html>, 
it'll work with either approach above.

-- 
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/-/bFfFyj6tG4UJ.
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