cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Fine Tuning Ajax Handling in CForms
Date Fri, 10 Feb 2006 22:41:13 GMT
Quoin Developers wrote:
> Currently, it's all or nothing when it comes to using AJAX on a form.
> With this enhancement, form widgets can be marked with <fi:styling
> ajax='false' />, and they will trigger a non-ajax form submission.
>
> I believe it is useful to give the developer control over which
> widgets use AJAX and which do not.
>   

Why do you need such flexibility?

> Note that the patch files also include a fix to a separate AJAX issue.
>
> forms_onsubmitHandlers = null
>
> Causes problems when in AJAX mode - submit handlers are only called
> the first time an ajax submit is called. Thereafter, the array of
> handlers is null, and none are called.
>   

Yeah, that's a problem. But we cannot keep it either, as some of the 
handlers are registered by widgets that are replaced by the update.

The move to Dojo which I'm currently working on should solve this issue.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://bluxte.net                     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message