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

Variation of JavaScriptHeaderContributor: ExternalJavaScriptHeaderContributor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0 branch (discontinued), 1.2.4, 1.3.0-beta1
    • wicket
    • None

    Description

      Where JavaScriptHeaderContributor contributes a reference to a javascript file relative to the context, ExternalJavaScriptHeaderContributor allows references to any javascript files just as long as the reference is recognized by the 'src' attribute of the <script> element.
      This is not really an extension, rather a 'down'tesnsion since ExternalJavaScriptHeaderContributor equals (JavaScriptHeaderContributor - the lines of code that prepend the getContextPath to the given reference).

      mf

      Attachments

        1. patch.txt
          2 kB
          Martin Funk

        Activity

          People

            almaw Alastair Maw
            funkattack Martin Funk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: