You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Martin Papy (JIRA)" <de...@tapestry.apache.org> on 2008/03/03 19:42:50 UTC

[jira] Created: (TAPESTRY-2226) Tapestry should not shorten Index when it is at the root of tapestry package

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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2226) Requests for the root index page that include a page activation context fail with a 404 error

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


[jira] Closed: (TAPESTRY-2226) Requests for the root index page that include a page activation context fail with a 404 error

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

Howard M. Lewis Ship closed TAPESTRY-2226.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.11

> 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
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.11
>
>
> 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


[jira] Assigned: (TAPESTRY-2226) Requests for the root index page that include a page activation context fail with a 404 error

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

Howard M. Lewis Ship reassigned TAPESTRY-2226:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> 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
>            Assignee: Howard M. Lewis Ship
>
> 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