Change 20100929-lou-8 by [email protected] on 2010-09-29 11:47:05 AST in /Users/lou/src/svn/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add documentation for mixins Bugs Fixed: LPP-9340 Technical Reviewer: max QA Reviewer: (pending) Doc Reviewer: (pending) Details: added clarification on super class from wiki: The simple model of how mixin inheritance works is that if you say: <class name="sundae" extends="icecream" with="sauce,whippedcream,nuts"> methods are looked up first in the class (sundae) then in each of the mixins (sauce, then whippedcream, then nuts) and then in the super class chain (icecream and then in any superclasses of icecream). The mixins are searched left-to-right, and then the superclass chain is searched. The key point is that mixins precede the superclass, and mixins are searched in the order they are listed. See test/mixins.lzx for a complete example of using mixins. This same search order is used when looking for methods, or attributes, or invoking super calls. Tests: visual verify Files: M docs/src/reference/langref.xml Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100929-lou-8.tar
