cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: AJAX and upload field
Date Tue, 06 Dec 2005 11:20:14 GMT
Robin Wyles wrote:
> Hi All,
>
> I noticed that if a form contains a file field then AJAX is completely 
> disabled for that form. I've patched my cforms.js so that it disables 
> AJAX only if the file field contains a value. Is this valid?

Yes, definitely.

> On a more general note would it not be possible to check only the 
> fields which are to be refreshed on that browser update before 
> deciding whether a full page update is needed, or am I 
> misunderstanding something?

Full page reload only occurs when we exit form.showForm(). Other than 
that, only partial updates are sent back to the browser.

Sylvain

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


Mime
View raw message