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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.3
    • Component/s: tapestry-core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: