Tapestry
  1. Tapestry
  2. TAPESTRY-1219

The order of loading bodyscripts and initializationscripts is non deterministic

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Later
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.6
    • Component/s: XHR/dhtml/Ajax
    • Labels:
      None
    • Environment:
      FF 2.0

      Description

      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?

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Andreas Andreou
            Reporter:
            Andreas Andreou
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development