[Laszlo-user] Using $path prevents view from being visible

Robin Sheat robin at kallisti.net.nz
Sun Jun 17 19:54:12 PDT 2007


Using lps-4.0.2, tested under swf7,8 and dhtml, the box that should be green 
doesn't show up. As soon as I change the $path to something else (say, remove 
the '$' to make it just a string) it works. However, this kinda kills 
binding. What's going on here?

<canvas width="100" height="100">

	<class name="test" extends="view" height="50" width="${parent.width}">
		<attribute name="testattr" type="string" />
	</class>
	
	<test bgcolor="0xFF0000" />	
	
	<dataset name="ds">
		<foo>bar</foo>
	</dataset>
	
	<test bgcolor="0x00FF00" y="50" testattr="$path{'ds:/foo/text()'}" />
	
</canvas>
-- 
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/20070617/8800c1dc/attachment.bin


More information about the Laszlo-user mailing list