Thats a very interesting idea and I could see how that
could cross the streams. The reason why I am trying to extend the dataset
is to overload the doRequest() to include user name/password query
parameters for authentication on every request. So unfortunately a
local dataset wont fix my problem but thanks for the help.
David
From: Henry Minsky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 2:04 PM
To: Buckler, David
Cc: [email protected]
Subject: Re: [Laszlo-user] Extending Dataset Class in 3.1.1
You can now say put datasets inside of instances or classes like below. I wonder if
local datasets might be able to be used in your application instead of extending dataset?
<view name="somedata" layout="axis: y" bgcolor="#cccccc">
<method event="onclick">
Debug.write(this.lds);
</method>
<dataset name="lds">
<foo>bar</foo>
</dataset>
<text>local dataset</text>
<method reference="lds" event="oninit">
<![CDATA[
Debug.write("somedata test data loaded", this);
if (this.lds.serialize() != '<lds><foo>bar</foo></lds>') {
Debug.error("somedata serialized data does not match expected value");
}
]]>
</method>
</view>
On 1/3/06, Buckler,
David <[EMAIL PROTECTED]> wrote:
In 3.0.2 I was be able to extend the dataset class, albeit with a load of compilation warnings, but it would still work. Now I am moving to 3.1.1 and this "feature" no longer works. Any ideas?<canvas>
<class name="myds" extends="dataset"/><myds name="z">
<node>Hello Moto</node>
</myds><text datapath="z:/node/text()"/></canvas>
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
