Hi Tucker,
Ben found a bug with using $style in a class definition. Given:
<class name="super" bgcolor="${ 'stylea1' }"/>
<class name="sub" extends="super" x="${ 'stylea2' }"/>
An instance of sub doesn't get the styled value. In general, this kind of
thing is handled by passing the collected style attributes as an Object,
which are then attached to the superclass version of the same in the ugly
loop at the top of the LzNode constructor. Since right now, the $style
attribute is a function, this object composition isn't happening.
Thoughts? Feelings? Seems like the easiest thing to do would be to pass
$styles as a hash.
A
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev