Ben Pope wrote:
Sylvain Wallez wrote:
Hi all,
I've been thinking for a few weeks to add AJAX support to CForms. Ajax
is the current buzzword in the blogosphere since Google maps [1]
started and the folks at Adaptivepath found this name for the
XmlHttpRequest + JS + XML combo [2].
<snip/>
Two days hacking, most of which dedicated to writing client-side JS
and solving cross-browser compatibility problems and here we are:
adding ajax="true" on <ft:form-template> turns on the magic.
<snip/>
I have turned on ajax mode on the following samples:
- http://localhost:8888/forms-samples/carselector
- http://localhost:8888/forms-samples/do-dynaRepeater.flow
- http://localhost:8888/forms-samples/do-datasourceChooser.flow
- http://localhost:8888/forms-samples/do-taskTree.flow
<snip/>
Enjoy,
Sylvain
Well I have only just read this mail, and haven't had a chance to look
at the samples, but it looks pretty useful to me. I'll look into it soon.
Nice one Silvain... I'm sure there are others that appreciate this effort.
It looks really promising. I was not able to run the samples. Firefox
has rendered the retrieved list as text (outside selection widget). IE
just showed javascript error and did nothing.
--
Leszek Gawron [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65