Hi,

I am new to GWT. I want to save the values got from DynamicForm to a bean.

*DynamicForm infoForm = new DyamicForm();*
*
*this infoForm has text properties "street" and "city"*
*
And I have a AddressBean that has getters and setters of Street and City.*

Map<String, String> infoMap = infoForm.getValues();
JavaScriptObject jso =
JavaScriptObjectHelper.convertMapToJavascriptObject(infoMap);
JavaScriptObjectHelper.getAttribute(jso, "street")
**JavaScriptObjectHelper.getAttribute(jso, "city")

*and then setting the values got from JavaScriptObjectHelper to the
Addressbean.*
*For each property I have to get the attribute and then save it to the bean.
Is there any method with which I can save all the values of the DynamicForm
in JavaBean in one go rather than picking every property and then saving to
the bean.

Any help will be really appreciated.

Thanks in advance,
Shakun

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

Reply via email to