cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: RFC: Ajax Roadmap
Date Wed, 14 Dec 2005 18:25:10 GMT
Antonio Gallardo wrote:
> Carsten Ziegeler wrote:
>> I think this global switch is a misconception. Can we change the meaning
>> to: "use ajax if it's enabled in the form *and* if the current browser
>> supports it?" Currently I only have the choice for switching ajax on for
>> *all* users. Now if they happen to have turned off javascript, they
>> simply can't use the form.
>> So I would prefer to have a detection mechanism, if the current browser
>> supports ajax or something like that.
> AFAIK, we have a detection mechanism at the browser level:

> (see the end of the "cocoon.forms.submitForm", at the end we founda 
> comment: "/// Non ajax-aware browser : regular submit"

Yep. This handles non-Ajax browsers that have Javascript enable. 
Browsers with Javascript disabled will not be able to use event-handlers 
on widgets other than submits.


Sylvain Wallez                        Anyware Technologies           
Apache Software Foundation Member     Research & Technology Director

View raw message