Tapestry should not shorten Index when it is at the root of tapestry package
----------------------------------------------------------------------------

                 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to