Tapestry
  1. Tapestry
  2. TAPESTRY-1325

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development