You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sylvain Wallez <sy...@anyware-tech.com> on 2005/05/07 00:13:16 UTC
CForms: Ajax goodies
Hi all,
I committed a few visual goodies for Ajax-in-CForms, taking inspiration
from the "Yellow Fade Technique" [1] and its "Fade Anything Technique"
variants [2][3].
The purpose it to provide a visual feedback to the user of what parts of
the screen have been changed by highlighting them in some non intrusive
way. I added the fading described below and also a blinker. You can try
all options in the car selector sample, tell me what you think about that.
There's still an issue with Ajax on Safari, as it seems Safari has a
problem with XmlHttpResponses that have no content. And the Ajax
framework sends an empty response with a "continue" header when the form
has been successfully validated, so that the client-side JS can load the
full page that comes after form.showForm().
Sylvain
[1] http://www.37signals.com/svn/archives/000558.php
[2] http://www.axentric.com/posts/default/7
[3] http://www.chapnickman.com/demo/fat/
--
Sylvain Wallez Anyware Technologies
http://apache.org/~sylvain http://anyware-tech.com
Apache Software Foundation Member Research & Technology Director
Re: CForms: Ajax goodies
Posted by Leszek Gawron <lg...@mobilebox.pl>.
Sylvain Wallez wrote:
> Hi all,
>
> I committed a few visual goodies for Ajax-in-CForms, taking inspiration
> from the "Yellow Fade Technique" [1] and its "Fade Anything Technique"
> variants [2][3].
works lovely under my IE
>
> The purpose it to provide a visual feedback to the user of what parts of
> the screen have been changed by highlighting them in some non intrusive
> way. I added the fading described below and also a blinker. You can try
> all options in the car selector sample, tell me what you think about that.
>
> There's still an issue with Ajax on Safari, as it seems Safari has a
> problem with XmlHttpResponses that have no content. And the Ajax
> framework sends an empty response with a "continue" header when the form
> has been successfully validated, so that the client-side JS can load the
> full page that comes after form.showForm().
Still there is an issue with my Firefox which reports:
uncaught exception: Permission denied to get property
HTMLDivElement.parentNode.
I am not aware of any security constraints configured in my browser (I
have all constraints disabled).
--
Leszek Gawron lgawron@mobilebox.pl
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