You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/03/03 20:02:50 UTC
[jira] Updated: (TAPESTRY-2226) Requests for the root index page
that include a page activation context fail with a 404 error
[ https://issues.apache.org/jira/browse/TAPESTRY-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAPESTRY-2226:
-------------------------------------------
Summary: Requests for the root index page that include a page activation context fail with a 404 error (was: Tapestry should not shorten Index when it is at the root of tapestry package)
> Requests for the root index page that include a page activation context fail with a 404 error
> ---------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2226
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2226
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.11
> Environment: Win Vista / Java 1.5
> Reporter: Martin Papy
>
> I have a problem with the new index pages. The system that shortens the url, shorten too much I think...
> Exemple in the Index.tml page a the Root of my Tapestry package :
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" >
> <t:pageLink t:page="index" t:context="literal:1">test</t:pageLink>
> </html>
> The generated URL will be http://hostname/context/1 (instead of http://hostname/context/index/1)
> The problem is that it generate a 404 Error... Is this normal ? Did I something wrong ?
> The same code in an Index page in a subdirectory doesn't generate the 404. It generated a correct shorten URL like : http://hostname/context/subdirectory/1 but it works fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org