Tom48
17 Aug 2009, 3:18 AM
Hello,
I need you help again. I like to load a gridmodel from a xml like in the example...
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, GWT.getModuleBaseURL()+ xmlDataName);
HttpProxy proxy = new HttpProxy(builder);
// need a loader, proxy, and reader
XmlLoadResultReader<ListLoadResult<ModelData>> reader =
new XmlLoadResultReader<ListLoadResult<ModelData>>(getModelType());
BaseListLoader<ListLoadResult<ModelData>> loader =
new BaseListLoader<ListLoadResult<ModelData>>(proxy, reader);So I am not working with a local file anymore, which worked fine. I receive the same data as a string from a RCP. So how can I fill the model with the data from the xml-structured string.
I hope that anybody could help me.
Thank you all for doing the support in this forum!!!
Tom
I need you help again. I like to load a gridmodel from a xml like in the example...
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, GWT.getModuleBaseURL()+ xmlDataName);
HttpProxy proxy = new HttpProxy(builder);
// need a loader, proxy, and reader
XmlLoadResultReader<ListLoadResult<ModelData>> reader =
new XmlLoadResultReader<ListLoadResult<ModelData>>(getModelType());
BaseListLoader<ListLoadResult<ModelData>> loader =
new BaseListLoader<ListLoadResult<ModelData>>(proxy, reader);So I am not working with a local file anymore, which worked fine. I receive the same data as a string from a RCP. So how can I fill the model with the data from the xml-structured string.
I hope that anybody could help me.
Thank you all for doing the support in this forum!!!
Tom