Tapestry
  1. Tapestry
  2. TAPESTRY-1509

Create an annotation to add a static JavaScript library to the rendered page

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.7
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      It would be nice if there was a handy class annotation that would automatically include a JavaScript library and notify PageRenderSupport to include it on the page. This would replace an @Inject @Path and PageRenderSupport.addScriptLink().

        Issue Links

          Activity

          Hide
          Chris Lewis added a comment -

          In my opinion it's features like this that will help position T5 as a likely candidate for building modern web apps. JS is a pivotal feature and making how to best include JS in pages has always been an annoyance for me. I'd also suggest a similar feature for CSS inclusion.

          Show
          Chris Lewis added a comment - In my opinion it's features like this that will help position T5 as a likely candidate for building modern web apps. JS is a pivotal feature and making how to best include JS in pages has always been an annoyance for me. I'd also suggest a similar feature for CSS inclusion.

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development