RE: AJAX form post

"Klotz, Leigh" <[email protected]> Mon, 4 Dec 2006 10:06:25 -0800
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <E254B0A7E0268949ABFE5EA97B7D0CF40285741C@usa7061ms01.na.xerox.net>
You might want to take a look at XForms, which is a W3C markup-based way
of doing XML submissions.
There is an 0.8 version of an XPI for it for Firefox and Mozilla.  There
are also plug-ins for IE, and server-side tools for doing
transformations to make it work (using Dojo and DWR and other AJAX
libraries) in all browsers.
Leigh. 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dylan
Schiemann
Sent: Monday, November 20, 2006 11:47 AM
To: hairbo
Cc: [email protected]
Subject: Re: AJAX form post

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is where toolkits like Dojo make life easier.

- -Dylan

hairbo wrote:
> Alex,
> 
> Thanks for the reply.  I just now saw it.  I searched the URL you
> provided, and couldn't find the widget you referred to.
> 
> I'm disappointed to hear that posting data via XmlHttpRequest is so
> ugly, and I'm surprised as well.  It sure looks like lots of websites
> out there are throwing around large quantities of data via
> XmlHttpRequest form posts (gmail, etc), so it seems odd that it would
> be so unpleasant to use.
> 
> It also sounds like you wrote something that works with Mozilla only.
> Is that correct?  I'm hoping to find a cross-browser solution, or at
> least good clues on how to develop a cross-browser solution.
> 
> Thanks,
> Ben Mueller
> 
> Alex Vincent wrote:
>> hairbo wrote:
>>> I've done a little digging online, but all I've found so far
suggests
>>> that doing FORM posts via XmlHttpRequest is just hideously ugly--you
>>> have to loop over all elements on the page, then build out a
key/value
>>> string (just like a querystring), and then pass that as part of the
>>> "send()" function.  All of the code I saw made it look just
godawful.
>>> Are there any good tutorials out there for this sort of thing?  Is
it
>>> really godawful to work with XmlHttpRequest and form posts?
>> Yes, it's really awful.  :)
>>
>> I wrote a serverpost widget for XUL some years back; you can find it
>> through http://xulwidgets.mozdev.org/ .
>>
>> Alex Vincent
>> Santa Cruz, CA, USA
> 
> _______________________________________________
> dev-tech-xml mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-xml
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFYgY/8nLgh/JJsxERAuIDAKCA5T5QgkPR/B76SZFFUfVZ4jhPoQCfUzv2
UcDpe6+C98WryVOWaAdhfV4=
=kisw
-----END PGP SIGNATURE-----
_______________________________________________
dev-tech-xml mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xml