It's exciting to see this working in dhtml! All the examples seem to
work fine. This passes:
http://localhost:8080/legals-clean/test/rpc/javarpc/test-all.lzx
This fails:
http://localhost:8080/legals-clean/test/rpc/javarpc/test-all.lzx?lzr=dhtml
this.parsePath is not a function
()test-all.lzx (line 317)
("rpc/library/dhtml/rpc.js", 65, function(), Object owner=Object
options=Object requestheaders=Object)LFCdhtml-debug.js (line 275)
__LZloaderReturnData(Object owner=Object options=Object
requestheaders=Object, ["United Arab Emirates", "Bahrain", "Algeria", 91
more...])test-all.lzx (line 318)
()LFCdhtml-debug.js (line 7348)
var $4_pp = this.parsePath($3_p);
A side question - 'example.Person' seems like it should make a Class so
that people can be cast as 'Person' instead of Object. Is this planned?
Henry Minsky wrote:
Change 20070306-daddy-0 by [EMAIL PROTECTED] on 2007-03-06 11:36:55 EST
in /cygdrive/c/users/hqm/openlaszlo/legals
Summary: checkpoint of java rpc DHTML
New Features:
Bugs Fixed:
Technical Reviewer: max (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Server classes to emit JSON
Passes some javarpc tests but not all.
Tests:
examples/javarpc
test/rpc/javarpc
Files:
A WEB-INF/lps/server/src/org/openlaszlo/remote/LZClientObjectJSON.java
A WEB-INF/lps/server/src/org/openlaszlo/remote/LZReturnObjectJSON.java
A WEB-INF/lps/server/src/org/openlaszlo/remote/LZClientObjectSWF.java
A WEB-INF/lps/server/src/org/openlaszlo/remote/LZReturnObjectSWF.java
M WEB-INF/lps/server/src/org/openlaszlo/data/JavaDataSource.java
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20070306-daddy-0.tar
--
Regards,
Max Carlson
OpenLaszlo.org