[ 
https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833362#action_12833362
 ] 

Howard M. Lewis Ship commented on TAP5-1015:
--------------------------------------------

I see this as supporting a new return type, say, StreamPageContent, that would 
trigger the rendering of a particular page.

The use case here is that a given page's activation context represents a 
particular entity and the entity does not exist; it would be nice to be able to 
leave the URL unchanged but stream some other page's content (i.e., the "Foo 
Entity Not Found" page).

> Add support to return other pages from onActivate()
> ---------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>
> Currently, onActivate() has no ability to delegate the rendering to another 
> page or stream without a redirect. It would be really helpful to support more 
> return types from this method. 
> Motivation: if the activation context is faulty you might want to keep the 
> url the way it is and still be able to render a different page than the 
> current page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to