You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/11/12 03:32:37 UTC

[jira] Resolved: (TAPESTRY-1119) external js packages need to be loaded syncrhonously instead of async

     [ http://issues.apache.org/jira/browse/TAPESTRY-1119?page=all ]

Jesse Kuhnert resolved TAPESTRY-1119.
-------------------------------------

    Resolution: Fixed

> external js packages need to be loaded syncrhonously instead of async
> ---------------------------------------------------------------------
>
>                 Key: TAPESTRY-1119
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1119
>             Project: Tapestry
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 4.1.1
>         Environment: browser
>            Reporter: Jesse Kuhnert
>         Assigned To: Jesse Kuhnert
>            Priority: Critical
>             Fix For: 4.1.1
>
>
> Andreas pointed out a flaw in the current system. When loading external js packages found in an ajax response we need to load them synchronously instead of async (the current method) because of the possibility of not having a package loaded that the ajax response javascript code relies on..
> A better approach would be to use dojo.hostenv.loadUri if possible. The js package responses should still be correctly cachable this way and may actually ultimately lead to faster processing times. 
> Should also check to see if css includes in responses are being handled equally well. 

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org