[Zope-CVS] CVS: Packages/Moztop/moztop/content - moztop.js:1.32
Stephan Richter
srichter@cbu.edu
Sun, 25 May 2003 15:12:25 -0400
Update of /cvs-repository/Packages/Moztop/moztop/content
In directory cvs.zope.org:/tmp/cvs-serv31071/moztop/content
Modified Files:
moztop.js
Log Message:
making prelinary checkin; I dunno whether anything works
=== Packages/Moztop/moztop/content/moztop.js 1.31 => 1.32 ===
--- Packages/Moztop/moztop/content/moztop.js:1.31 Mon Apr 7 07:21:39 2003
+++ Packages/Moztop/moztop/content/moztop.js Sun May 25 15:11:54 2003
@@ -43,37 +43,18 @@
client = new DavClient();
- /*
- pf = new PropFind();
- pf.setAllProp();
- //dump('\n\n'+pf.serialize());
-
- pf = new PropFind();
- pf.setPropName();
- // dump('\n\n'+pf.serialize());
-
- pf = new PropFind();
- p1 = new Prop('foo.org');
- p1.addProperty('bar');
- p1.addProperty('blah');
- pf.addProp(p1);
- p2 = new Prop('bar.org');
- p2.addProperty('foo');
- p2.addProperty('blah');
- pf.addProp(p2);
- // dump('\n\n'+pf.serialize());
-
function callBack(stat, obj) {
+ alert(foo);
alert(
stat.getResponses()[0].getPropStats()[0].getProp().getProperties()
);
}
- pf = new PropFind();
+ pf = new DavPropFind();
pf.setPropName();
- dump(pf.serialize()+'\n\n');
- client.PROPFIND('http://localhost:9080/', pf, RESOURCE_DEPTH, callBack);
+ client.PROPFIND('http://localhost:9080/', pf, DAV_RESOURCE_DEPTH, callBack);
+ /*
function callBack(mesg) {
alert(mesg);
}
@@ -109,7 +90,6 @@
'http://localhost:9080/moztop_new',
null, ALLSUBS_DEPTH, true, callBack);
- */
function callBack(stat) {
alert(stat);
@@ -118,6 +98,7 @@
client.MOVE('http://localhost:9080/moztop_new',
'http://localhost:9080/moztop_move',
null, ALLSUBS_DEPTH, true, callBack);
+ */
}