cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freek Segers (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-1718) Ajax client library handling script tags
Date Mon, 24 Apr 2006 06:25:12 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1718?page=all ]
     
Freek Segers closed COCOON-1718:
--------------------------------

    Resolution: Won't Fix

Cocoon 2.19+ uses dojo. Bug and patch do mot apply any longer.

> Ajax client library handling script tags
> ----------------------------------------
>
>          Key: COCOON-1718
>          URL: http://issues.apache.org/jira/browse/COCOON-1718
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Ajax
>     Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9
>     Reporter: Freek Segers
>  Attachments: cocoon-ajax.js, patch_cocoon-ajax.js_1_1_8.txt
>
> The way Ajax currently handles script tags in browser updates, the scripts are evaluated
before the HTML elements are replaced.
> Because scripts may call for example document.getElementById() they act on the old elements,
that are replaced later on.
> It would be better to evaluate the scripts after the element has been replaced.
> The attached file contains a few overridden functions from from the default cocoon-ajax.js
file to postpone script evaluation until after element replacement.
> I'm still investigating a possible problem with IE.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message