Change 36120 by [EMAIL PROTECTED] on 2005/12/17 13:46:19 *pending*
Summary:Rewrite LzNode.construct to remove flasm code and to improve placement rules, and fix LzNode.searchSubnodes to search subnodes instead of subviews.
New Features:Placement rules updated. See reference material for
LzNode.construct for details.
Bugs Fixed:LPP-1068 LPP-1169
Technical Reviewer: adam (pending)
QA Reviewer: mdavis (pending)
Doc Reviewer: jsundman (pending)
Documentation:See reference material in LzNode.construct.
Release Notes:Improved LzNode.determinePlacement to respect
ignoreplacement and to recursively apply defaultplacement directives.
LzNode.searchSubnodes now searches subnodes instead of subviews.
Fixed a number of potential bugs with placement in components
(basecombobox, basetabslider, datepicker, floatinglist, and list).
Details:
LzNode.as: rewrite LzNode.determinePlacement and LzNode.construct
and fix bug in LzNode.searchSubnodes
lzx.rnc: add ignoreplacement attribute to nodeAttributes
basecombobox.lzx: default value of defaultplacement should be
"cblist", not "". Also rewrite determinePlacement override so that
overriden implementation is still called if placement is not "cblist".
basetabslider.lzx: searchSubnodes -> searchSubviews
datepicker.zx: placement="toolbar" was only working because there
was no subview named "toolbar". ignoreplacement="true" expresses the
intent much better.
floatinglist.lzx: placement="ignore" is a kludge.
ignoreplacement="true" is what you really want.
list.lzx: determinePlacement override is completely unnecessary
with floatinglist change above.
Tests:smoketest.lzx, most other unittests, Laszlo Explorer, Demos,
Examples.
Affected files ... ... //depot/lps-dev/WEB-INF/lps/lfc/core/LzNode.as#23 edit ... //depot/lps-dev/WEB-INF/lps/schema/lzx.rnc#24 edit ... //depot/lps-dev/lps/components/base/basecombobox.lzx#7 edit ... //depot/lps-dev/lps/components/base/basetabslider.lzx#6 edit ... //depot/lps-dev/lps/components/lz/datepicker.lzx#7 edit ... //depot/lps-dev/lps/components/lz/floatinglist.lzx#7 edit ... //depot/lps-dev/lps/components/lz/list.lzx#5 edit ... //depot/lps-dev/test/lfc/lzunit-node-placement.lzx#1 edit ... //depot/lps-dev/test/lfc/lzunit-node.lzx#1 edit ... //depot/lps-dev/test/lzunit/testpaths.txt#5 edit [ATTACH CHANGESET]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
