Hi Ben,

Thank you for those suggestions.

In my case, RequireJS is pulling a remote JavaScript library as per the @Import annotation (below) on the pages’s class, so not a local jQuery module. The issue seems to arise when a user expands/refreshes a particular zone containing a large number of thumbnail images, navigates away from the page before all have loaded, then returns to this page.

JavaScriptSupport#addModuleConfigurationCallback() looks like a promising approach to override RequireJS’s default 7 second timeout. I will give it a shot when back at my desk tomorrow. 🙂


@Import(
    stylesheet = {
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css";,
        "https://use.fontawesome.com/releases/v5.2.0/css/all.css";,
        "context:/css/dashboard.css",
"https://fonts.googleapis.com/css?family=Oswald:300,400,500,700"},
    library = {
        "https://code.jquery.com/jquery-3.3.1.slim.min.js";,
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js";, "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js";,
        "context:/js/dashboard.js"})
public class Dashboard {…}


Kind regards,

Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to