There is an option to the API which dataset uses, called datarequest, to load an unparsed string, using the dataset API.
For example this is used in the "ajax" compatibility library in lps/components/rpc/ajax.lzx. That library defines a "XMLHTTPRequest" class which simulates the Javascript XMLHTTPRequest API that people are used to, but works portablly in both the Flash runtime as well as the DHTML runtime. You can fetch raw string data and then either parse it as XML using the native platform XML parser (which gives you DOM objects in DHTML, or Flash XML objects in Flash), or maybe parse it out as JSON or some other format. There is a JSON parser library which is used for XML-RPC, that could be used for parsing JSON data also. On Wed, Jun 2, 2010 at 5:16 AM, jvvn murty <[email protected]> wrote: > Hi, > > To fetch data from server we are using datasets .Is there any others way > to fetch data from server in laszlo without datasets? > > Thanks, > Murty > -- Henry Minsky Software Architect [email protected]
