From: Ramon Felciano <felciano@in...> - 2005-06-14 00:36:00
Thanks; I will definitely give it try -- I didn't know about =
From: Jonathan Ellis [mailto:jonathan@...]
Sent: Thu 06/09/2005 16:35
To: Ramon Felciano; spyce-users@...
Subject: Re: [Spyce-users] Using Spyce for AJAX applications?
On Mon, 6 Jun 2005 21:55:09 -0700, "Ramon Felciano"
> I do like Spyce's simplicity, so thought I'd check with the list first =
> see if anyone has come up with an easy & elegant way to do AJAX w =
> first before looking at other frameworks. Any ideas or sample code to
> point me to?
AJAX isn't baked into Spyce yet. I'd like to add some support to the
framework; in the meantime, simple things are pretty easy to do "by
If you use the Prototype AJAX library (search for prototype.js) it's as
<f:button onclick=3D"Ajax.Updater('target', 'url.spy')" />
then have url.spy spit out whatever you want Prototype to stick into
your target div's innerHTML.
I try to stick with this approach (hand back a chunk of html to stick
into a div) where possible; it's a LOT simpler than loading XML or even
JSON and then manipulating them. (It's also significantly faster for a
lot of things in IE, which is quite slow at operations modifying the DOM
but parses innerHTML fairly quickly.)
Sorry for the late reply,
This email message (and any attached document) contains information from =
Ingenuity Systems Inc. which may be considered confidential by =
Ingenuity, or which may be privileged or otherwise exempt from =
disclosure under law, and is for the sole use of the individual or =
entity to whom it is addressed. Any other dissemination, distribution =
or copying of this message is strictly prohibited. If you receive this =
message in error, please notify me and destroy the attached message (and =
all attached documents) immediately.=20