Stack : SmartGWT v2.4, GWT sdk 2.1 Mozilla 3.6

I am fairly new to Smart GWT, but have so far got the ListGrid
component working. Our requirement is to show additional details of
the record selected in the ListGrid.

Scenario: ListGrid -->select record --> send request to server to
fetch details of the record --> show details of this fetched record as
readonly

Question:
1. What is the best approach to send HTTP GET request and rendering
the JSON response.
2. We considered using DetailsViewer and Dynamic form. Though
DetailsViewer.setData(...) works when we pass the current selected
ListGrid record, we want to get more details that is not held in the
ListGrid row.

Tried setting a RestDatasource for detailsViewer, it doesnt show the
fetched record in detailsViewer, although we can verify from firebug
that the request from datasource.fetchData() is hitting the
server(running a java spring MVC application and returns JSON).

Can you please help what is the best possible approach to retreive
JSON data for a record detail from server and show it in a form as
read only?

Is there any alternative in pure GWT... I am fedup trying to get this
working..:(

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to