tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-1219) The order of loading bodyscripts and initializationscripts is non deterministic
Date Mon, 01 Jan 2007 17:47:27 GMT
The order of loading bodyscripts and initializationscripts is non deterministic
-------------------------------------------------------------------------------

                 Key: TAPESTRY-1219
                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1219
             Project: Tapestry
          Issue Type: Bug
          Components: XHR/dhtml/Ajax
    Affects Versions: 4.1.1
         Environment: FF 2.0
            Reporter: Andreas Andreou
            Priority: Critical
             Fix For: 4.1.2


A comment in core.js reads 'load body scripts before initialization'...
Due to the way loadScriptContent has to be implemented (to circumvent IE issues) this doesn't
always hold true.

So, a call to taperstry.widget.synchronizeWidgetState (in an initialization script) can sometimes
get executed BEFORE a 
dojo.require('tapestry.widget.Widget') (typically in body scripts) resulting in 
'taperstry.widget.synchronizeWidgetState not a function' javascript errors.

Perhaps somehow block until all body scripts get processed?

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


Mime
View raw message