Hi Aviral, Do you need the xml data to be presented in a grid? I take it you need to add some extra stuff when you massage the original xml file before its consumed by HttpProxy and loaded into a Store. I'd suggest that you do all the XML data massaging on the server side and not the client side.
You can do this by 1) creating a servlet that reads the original XML on the sever and massages it and makes it available to the client when they hit a certain URL like users.dxml. Here users.dxml maps to your servlet that manipulates the original xml and returns it to the client. Make sure you specify a mime type of text/xml. 2) Create a GWT-RPC call massages the original xml on the server and returns the massaged xml as a String. You can then load this data into a store by calling store.loadXmlData(..). See http://gwt-ext.com/demo/#localXmlGrid Sanjiv On Fri, Aug 29, 2008 at 11:04 AM, aviral <[EMAIL PROTECTED]> wrote: > > All, > > I am comparatively new to the technology and quite impressed with what > I've seen so far. I'm facing some issues though with the first thing > that I'm trying to do with it. > > I have my data stored in the XML format on the disk. The task it to > read it and message and group the data in a nice row-column format > before presenting. I have copied the XML to public directory and can > read it with the help of HttpProxy/ XmlReader classes. The issue is I > don't get a handle on the data, so not able to organize the way I need > to present it. I have read the samples but they all seem to be > presenting XMLs which are written in a ready-to-present fashion. > > Can someone suggest if there is a way I can use a custom XML loader or > if there is a way I can extract the data out of the Store object? > > Pl help!!! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" 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/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
