This is a proposed change to merge the behavior of $datapath and datapath in
node construction.
I'm not sure if this covers all the cases yet, but it would seem to simplify
things considerably, so
we only have to worry about looking at the 'datapath' attribute when
constructing the datapath
at node construct/replicate time.
Change 20080109-hqm-2 by [EMAIL PROTECTED] on 2008-01-09 21:44:10 EST
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: make <datapath> tag and datapath attribute more equivalent
New Features:
Bugs Fixed: LPP-4386, LPP-5193
Technical Reviewer: andre
QA Reviewer: ptw, max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
remove the generating and use of $datapath attribute. Overload the
"datapath" attribute
to take either a string or an "initobj" hash table to specify a <datapath>
element.
Move the setDatapath setter to be an early setter, to emulate curent
behavior of
the setter for $datapath (__LZmakeDatapath)
Tests:
test/lfc/data/alldata.lzx
calendar demo
amazon demo
test case double_datapath.lzx in LPP 5193
Files:
M WEB-INF/lps/lfc/core/LzNode.lzs
M WEB-INF/lps/lfc/data/LzReplicationManager.lzs
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080109-hqm-2.tar
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]