[Laszlo-user] Does updateData() work for attributes?

Robin Sheat robin at kallisti.net.nz
Mon Jul 9 20:22:34 PDT 2007


Say I have:
<attribute name="myattr" value="$path{'@somedata'}" type="number" />

and at some stage, something like this happens:
this.setAttribute('myattr', 42);
datapath.updateData();

will it pull the new value from the attribute and copy it back to the 
datapath? If not, is there a way to make it do that, or must it be done 
programmatically?

-- 
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.kallisti.net.nz>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070709/a6594f1e/attachment.bin


More information about the Laszlo-user mailing list