Tuesday, November 1, 2011

Re: JSON Data in GWT

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
  2. parse JSON using JsonUtils.safeEval
Or you can:
  1. define AutoBean interfaces and an AutoBeanFactory
  2. GWT.create() your AutoBeanFactory
  3. parse JSON using AutoBeanCodex.decode

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, 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment