You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ulrich Stärk (Resolved JIRA)" <ji...@apache.org> on 2011/12/07 13:44:40 UTC

[jira] [Resolved] (TAP5-1750) Add Start-Page-like behaviour to Index pages

     [ https://issues.apache.org/jira/browse/TAP5-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ulrich Stärk resolved TAP5-1750.
--------------------------------

    Resolution: Not A Problem

This is expected behavior. If you want to map servlet requests to URIs normally under control of Tapestry, add them to ignored paths.

If you want to make sure the page context is empty, use onActivate(EventContext context) and check the context's size with context.getCount()

Uli
                
> Add Start-Page-like behaviour to Index pages
> --------------------------------------------
>
>                 Key: TAP5-1750
>                 URL: https://issues.apache.org/jira/browse/TAP5-1750
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.3
>            Reporter: Michael Wyraz
>
> In 5.3, start pages seems to behave like index pages. If one is pressent at the root, any called url that is not mapped to a page is sent to the start page (with the requested path as context).
> As a result, i't not possible to have other resources like servlets mapped to request uri unless they are explicitly set as "ignored path".
> In earlier versions, this could simply get fixed by using start pages. So there should be a solution for newer versions as well.
> Idea: An annotation to a page that tells if this pages supports page context or not. So an index page would not be called for any uri if it does not accept a context.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira