Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-281

wicket-ajax.js is sometime missing from <head> section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.2.5
    • 1.2.6
    • wicket
    • None
    • JDK 1.4.2

    Description

      After switching to 1.2.5, I am seeing a lot of JavaScript errors "Object expected" on
      Ajax links.
      I found that in "development" mode "WICKET AJAX DEBUG" is missing just before such a link will fail,
      looking a the html source in the browser, shows that the "wicket-ajax.js" is missing from the head section,
      and this is what causes the ajax link to fail.

      I can recreate the problem in our application by clicking on these types of links in this order:
      1. page link - ok
      2. ajax link - ok
      3. page link - ok
      4. ajax link - fail

      I do not see this problem with wicket 1.2.4

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            nielsbo Niels Bo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: