> I go a little nuts reading code that has '<' where it means '<',
> so I would write this as
> <method name="setWidth" args="newwidth"><![CDATA[
> super.setWidth(newwidth < minwidth ? minwidth : newwidth);
> ]]></method>
I use Math.min and Math.max for this stuff:
foo="${Math.max(newwidth, minwidth)}"
Very clean but I guess it is a function call in a constraint, which isn't
so hot.
gse
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user