Check
out the Web Distributed Data Exchange (WDDX) technology by Allaire at http://www.openwddx.org. This is where I got
my idea. I began looking into serializing a JS object encoded with the form data
and then deserializing it to a Java object on the server side, but then I
realized that I could cut out the middleman and simply send my own custom XML
string in a hidden form field. I used their JS file as the basis for my own
script. The solution still leaves me a bit unsatisfied
though...
-----Original Message-----
From: Mike Dierken [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 3:38 PM
To: '[EMAIL PROTECTED]'
Subject: RE: form field data "bound" to XML nodes?
From: Mike Dierken [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 3:38 PM
To: '[EMAIL PROTECTED]'
Subject: RE: form field data "bound" to XML nodes?
> or to build a JavaScript object representing the data structure
> that could be serialized into XML and sent as the sole name/value pair.
> These seem to me to be very kludgey.
>
This one actually is interesting.
Imagine if the XML serialization of the JS object is echoed to another browser - and it de-serialized it back into a JS object. Think of all the fun things you could do with that...
mike