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

Option to render a particular page instance in its current state (without page activation)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3, 5.4
    • 5.4
    • tapestry-core
    • None

    Description

      Tapestry 5.2 introduced StreamPageContent as a return value from @Traditional event handler methods. It requires the event handler method to return not just the page class, but the activation context for the page, and the page is activated before being used to stream the result.

      This is not always desirable; in many cases, the page to be rendered has already been activated and possibly, the code desiring the activation does not know the page activation context for the desired page. Changing StreamPageContent's constructor and API to support (render as-is, without forcing page activation) is desirable.

      Attachments

        Issue Links

          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: