Hi Alex,

You can try wrapping all the datasets in a state like:

<canvas>

  <method event="oninit">
    // instantiate dataset after application is fully inited
    canvas.deferdsets.apply()
  </method>

  <state name="deferdsets">
    <dataset name="foo">
    ...
    </dataset>
    <dataset name="bar">
    ...
    </dataset>
  </state>

</canvas>

pablo


On Tue, 15 Nov 2005, Alex Warwick wrote:

Hi all,

I've got an application that uses lots and lots of datasets, is there a way
I can make it so all the datasets are not loaded when the application is
first run and only loaded when needed?

Thanks
Alex


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to