[Chameleon-dev] [Bug 691] New: [Chameleon] JavaScript loading architecture

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Thu Oct 7 09:15:16 EDT 2004


           Summary: [Chameleon] JavaScript loading architecture
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: pspencer at dmsolutions.ca

The way we use javascript in chameleon, especially the way that files are
included, is quite naive and does not accomodate the possibility of asynchronous
loading of these files.  The end result is the occasional javascript error
relating to functions or variables not being defined ... this should really be
'not defined YET' since inspecting the source of the page reveals that the code
really is getting included.

The architecture should include a notion of knowing when files have been
included and not accessing functions/variables until such time as they are
available.  There are numerous examples of much more sophisticated ways of
loading external js files that should be researched during this redesign.

Note that while this is listed as part of the CORE, it will really affect all
widgets and probably the widget developers documentation and the application
developer documentation.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Chameleon-dev mailing list