Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-442

Add a context: binding prefix to make it super-easy to reference context assets from templates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.1.0.0
    • 5.1.0.0
    • tapestry-core
    • None

    Description

      Yes, you can do asset:context:foo.gif but that's longer than I'd like. You really want to use Assets to reference context assets to a) ensure that URLs are correct (short and relative ... even if the page URL shifts due to activation context), and b) get the benefits of gzip compression, versioning in the URL and far-future expires headers.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: