Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1262

Injecting scripts into <head> part

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.2
    • tapestry-core
    • None

    Description

      It seems that is not possible to inject via hivemind any script or arbitrary piece of code to the Shell component.

      In the specific case I'm trying to create a jar library that needs to add
      <head>
      .......
      <script type="text/javascript">
      dojo.registerModulePath("jfly", "/asset.svc?path=%2Fjfly%2F");

      </script>
      <script type="text/javascript" src="/asset.svc?path=%2Fjfly%2Fcore.js"></script>
      <head>

      after the dojo declaration.

      This seem's not to be possible, and it should be nice to have it since it seems that I'm not the only who need this feature.

      Bye,
      kiuma

      Attachments

        Activity

          People

            Unassigned Unassigned
            kiuma72 Andrea Chiumenti
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: