tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TAP5-1137) Dynamically adding JavaScript libraries to a page via a partial page update does not seem to work consistently in Safari and Chromie
Date Fri, 07 May 2010 17:31:48 GMT

     [ https://issues.apache.org/jira/browse/TAP5-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship updated TAP5-1137:
---------------------------------------

        Summary: Dynamically adding JavaScript libraries to a page via a partial page update
does not seem to work consistently in Safari and Chromie  (was: Dynamically adding JavaScript
libraries to a page via a partial page update does not seem to work properly in Safari and
Chromie)
    Description: When scripts have dependencies on each other, it appears they can be loaded
and executed out-of-order, causing runtime exceptions in the browser.

Ideally, dependencies wouldn't be resolved until a DOM Loaded event handler, but that's not
always the case (tapx-datefield uses a library that breaks this rule).

The approach I'm working with is to load each added script sequentially, rather than creating
a batch of new <script> elements and waiting for them all to complete (in indeterminate
order).

> Dynamically adding JavaScript libraries to a page via a partial page update does not
seem to work consistently in Safari and Chromie
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1137
>                 URL: https://issues.apache.org/jira/browse/TAP5-1137
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Blocker
>
> When scripts have dependencies on each other, it appears they can be loaded and executed
out-of-order, causing runtime exceptions in the browser.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message