Tapestry 5
  1. Tapestry 5
  2. TAP5-442

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-core
    • Labels:
      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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development