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 client library handling script tags
Date Mon, 19 Dec 2005 12:38:14 GMT
Freek Segers wrote:
> Hi,
>
> I'm having a problem with the way Ajax handles script tags in the 
> browser update XML.
> The way it is implemented in Cocoon 2.1.8 the scripts are evaluated 
> before the HTML elements are replaced.
> Because my script calls document.getElementById() my script acts on 
> the old element, that is replaced later on.
> Wouldn't it be better to evaluate the scripts after the element has 
> been replaced?

Yep. You're right. I'll change this.

Sylvain

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


Mime
View raw message