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

Add an "asset:" object provider, to simplfy injecting assets into services

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0.3
    • tapestry-core
    • None

    Description

      It is currently too much code (i.e., too much code to test) to inject an asset (such as a stylesheet, image, or JavaScript library) into a service (i.e, pretty easy inside a component).

      It would be nice if:

      @Inject("asset:classpath:/org/apache/tapestry/default.css") Asset defaultStylesheet

      work work.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: