You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Andreas Pardeike (JIRA)" <ji...@apache.org> on 2010/02/12 14:22:28 UTC

[jira] Created: (TAP5-1015) Add support to return other pages from onActivate()

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.


[jira] Updated: (TAP5-1015) Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko updated TAP5-1015:
---------------------------------

    Summary: Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect  (was: Add ability to have an activate event handler render another page entirely as the response)

> Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>
> 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.


[jira] Closed: (TAP5-1015) Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-1015.
--------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> 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.


[jira] Updated: (TAP5-1015) Add ability to have an activate event handler render another page entirely as the response

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-1015:
---------------------------------------

    Summary: Add ability to have an activate event handler render another page entirely as the response  (was: Add support to return other pages from onActivate())

> Add ability to have an activate event handler render another page entirely as the response
> ------------------------------------------------------------------------------------------
>
>                 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.


[jira] Updated: (TAP5-1015) Add ability to have an activate event handler render another page entirely as the response

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-1015:
---------------------------------------

    Summary: Add ability to have an activate event handler render another page entirely as the response  (was: Add support to return other pages from onActivate())

> Add ability to have an activate event handler render another page entirely as the response
> ------------------------------------------------------------------------------------------
>
>                 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.


[jira] Closed: (TAP5-1015) Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-1015.
--------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> 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.


[jira] Commented: (TAP5-1015) Add support to return other pages from onActivate()

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Assigned: (TAP5-1015) Add ability to have an activate event handler render another page entirely as the response

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1015:
------------------------------------

    Assignee: Igor Drobiazko

> Add ability to have an activate event handler render another page entirely as the response
> ------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>
> 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.


[jira] Commented: (TAP5-1015) Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893099#action_12893099 ] 

Hudson commented on TAP5-1015:
------------------------------

Integrated in tapestry-5.2-freestyle #162 (See [http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/162/])
    

> Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> 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.


[jira] Commented: (TAP5-1015) Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893099#action_12893099 ] 

Hudson commented on TAP5-1015:
------------------------------

Integrated in tapestry-5.2-freestyle #162 (See [http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/162/])
    

> Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> 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.


[jira] Assigned: (TAP5-1015) Add ability to have an activate event handler render another page entirely as the response

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1015:
------------------------------------

    Assignee: Igor Drobiazko

> Add ability to have an activate event handler render another page entirely as the response
> ------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>
> 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.


[jira] Updated: (TAP5-1015) Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko updated TAP5-1015:
---------------------------------

    Summary: Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect  (was: Add ability to have an activate event handler render another page entirely as the response)

> Provide a new return type for event handler methods that would trigger the rendering of a particular page without a redirect
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1015
>                 URL: https://issues.apache.org/jira/browse/TAP5-1015
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Andreas Pardeike
>            Assignee: Igor Drobiazko
>
> 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.


[jira] Commented: (TAP5-1015) Add support to return other pages from onActivate()

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ 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.