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)

    Details

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

              • 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: