[Laszlo-user] How can I construct a datapath from some arbitrary dataset parameter given later?

Paulo Scardine paulo at scardine.com.br
Thu Sep 18 06:32:22 PDT 2008


Hi guys,

This small testcase gives me "WARNING: local dataset "[ds]" not found in 
«lz.view»":

<canvas>
  <class name="myclass">
    <attribute name="ds">
    <view datapath="local:ds:/resultset"/>
  </class>

  <view>
    <dataset name="myds1" src="http://localhost/mydata.php"/>
    <dataset name="myds2" src="http://localhost/mydata.php"/>
    <myclass ds="${parent.myds1}">
    <myclass ds="${parent.myds2}">
  </view>
</canvas>

What is the Laszlo way to achieve something like this?

Thanks in advance,
--
Paulo Scardine



More information about the Laszlo-user mailing list