[Laszlo-user] Duplicate named datasets

Robin robin at kallisti.net.nz
Mon Apr 10 03:56:55 EDT 2006


When I want to send a request to the server, but don't care about the result
(because I'm just telling it some new data or something), I've been doing this
kind of thing:

var tempData = new LzDataset();
tempData.setSrc(data.getSrc());
tempData.setName("temp");
tempData.setQueryString(p);
tempData.doRequest();
tempData.destroy();

however, if I do this more than once, I get a message:
WARNING: A dataset already exists with the name 'localdata': «LzDataset#5|
<temp><ol....
Is this a problem, and is there any way to stop it happening?

Thanks, Robin.


More information about the Laszlo-user mailing list