[Laszlo-checkins] r11928 - in openlaszlo/trunk/lps/components/rpc: . library
bargull@openlaszlo.org
bargull at openlaszlo.org
Sat Nov 29 06:36:26 PST 2008
Author: bargull
Date: 2008-11-29 06:36:21 -0800 (Sat, 29 Nov 2008)
New Revision: 11928
Modified:
openlaszlo/trunk/lps/components/rpc/library/rpc.js
openlaszlo/trunk/lps/components/rpc/library/soap.js
openlaszlo/trunk/lps/components/rpc/rpc.lzx
Log:
Change 20081129-bargull-78Q by bargull at dell--p4--2-53 on 2008-11-29 12:40:57
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: update callers of "setData()"
New Features:
Bugs Fixed: LPP-7393 (partial)
Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Changed "setData(..)" to "setAttribute('data',..)". The "setData()"-method in replicator resp. lazyreplicator can't be changed, actually it doesn't seem to be an override of LzNode#setData(), the method names are just the same...
Tests:
Modified: openlaszlo/trunk/lps/components/rpc/library/rpc.js
===================================================================
--- openlaszlo/trunk/lps/components/rpc/library/rpc.js 2008-11-29 14:34:42 UTC (rev 11927)
+++ openlaszlo/trunk/lps/components/rpc/library/rpc.js 2008-11-29 14:36:21 UTC (rev 11928)
@@ -182,7 +182,7 @@
if ( delegate.dataobject instanceof LzDataset ) {
var element = LzDataElement.valueToElement(data);
// the child nodes of element will be placed in datasets childNodes
- delegate.dataobject.setData( element.childNodes );
+ delegate.dataobject.setAttribute("data", element.childNodes);
} else if ( delegate.dataobject instanceof LzDataElement ) {
var element = LzDataElement.valueToElement(data);
// xpath: element/value
@@ -308,7 +308,7 @@
if ( delegate.dataobject instanceof LzDataset ) {
var element = LzDataElement.valueToElement(data);
// the child nodes of element will be placed in datasets childNodes
- delegate.dataobject.setData( element.childNodes );
+ delegate.dataobject.setAttribute("data", element.childNodes);
} else if ( delegate.dataobject instanceof LzDataElement ) {
var element = LzDataElement.valueToElement(data);
// xpath: element/value
Modified: openlaszlo/trunk/lps/components/rpc/library/soap.js
===================================================================
--- openlaszlo/trunk/lps/components/rpc/library/soap.js 2008-11-29 14:34:42 UTC (rev 11927)
+++ openlaszlo/trunk/lps/components/rpc/library/soap.js 2008-11-29 14:36:21 UTC (rev 11928)
@@ -420,7 +420,7 @@
if ( delegate.dataobject instanceof LzDataset ) {
var element = LzDataElement.valueToElement(data);
// the child nodes of element will be placed in datasets childNodes
- delegate.dataobject.setData( element.childNodes );
+ delegate.dataobject.setAttribute("data", element.childNodes);
} else if ( delegate.dataobject instanceof LzDataElement ) {
var element = LzDataElement.valueToElement(data);
// xpath: element/value
Modified: openlaszlo/trunk/lps/components/rpc/rpc.lzx
===================================================================
--- openlaszlo/trunk/lps/components/rpc/rpc.lzx 2008-11-29 14:34:42 UTC (rev 11927)
+++ openlaszlo/trunk/lps/components/rpc/rpc.lzx 2008-11-29 14:36:21 UTC (rev 11928)
@@ -435,9 +435,9 @@
if (o.opinfo['responseheaders'] != null) {
var r = new LzDataElement("root", { }, o.opinfo.responseheaders);
if ( this.remotecontext != null && this.remotecontext.responseheaders != null) {
- this.remotecontext.responseheaders.setData( r );
+ this.remotecontext.responseheaders.setAttribute("data", r);
} else if ( parent.responseheaders != null ) {
- parent.responseheaders.setData( r );
+ parent.responseheaders.setAttribute("data", r);
}
}
More information about the Laszlo-checkins
mailing list