Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3, 5.4
-
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.