You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Massimo Lusetti (JIRA)" <ji...@apache.org> on 2013/02/10 22:45:13 UTC

[jira] [Created] (TAP5-2070) Respond with a HTTP 404 if the page is activated with an activation context not explicitly supported by the page itself

Massimo Lusetti created TAP5-2070:
-------------------------------------

             Summary: Respond with a HTTP 404 if the page is activated with an activation context not explicitly supported by the page itself
                 Key: TAP5-2070
                 URL: https://issues.apache.org/jira/browse/TAP5-2070
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
            Reporter: Massimo Lusetti


The behavior from day one for pages within Tapestry is to being able to serve requests that come with an activation context with more parameters that the ones declared by the page itself.

This feature lead the framework to serve requests that comes to URL which are not explicitly declared by the pages, for example a page named: Super with an activation event handler method like this one:

onActivate(String character) { ... }

will finely serve requests for:

/super/mario
/super/luigi
/super/wario
/super/waluigi

but it will also serve requests for:

/super/mario/luigi/wario/waluigi

This issue is to change that behavior.
If the page does declare a specific activation event handler method the corresponding serving URLs should adhere strictly, otherwise a HTTP 404 is raised.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira