You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hugo Palma (JIRA)" <de...@tapestry.apache.org> on 2007/06/06 11:24:25 UTC
[jira] Created: (TAPESTRY-1541) Can't find page with same name as
parent folder
Can't find page with same name as parent folder
-----------------------------------------------
Key: TAPESTRY-1541
URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
Project: Tapestry
Issue Type: Bug
Components: Framework
Affects Versions: 5.0.5
Reporter: Hugo Palma
It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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-1541) Can't find page with same name as
parent folder
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-1541.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.7
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.7
>
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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] Commented: (TAPESTRY-1541) Can't find page with same name as
parent folder
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553406 ]
Howard M. Lewis Ship commented on TAPESTRY-1541:
------------------------------------------------
My approach is that, if the result of stripping off terms results in the empty string, then we leave the simple name alone.
For example, foo.pages.admin.product.AdminProduct will convert to admin/product/AdminProduct.
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
> Assignee: Howard M. Lewis Ship
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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] Commented: (TAPESTRY-1541) Can't find page with same name as
parent folder
Posted by "Steven Coco (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504416 ]
Steven Coco commented on TAPESTRY-1541:
---------------------------------------
This might be useful additional information on this issue:
I think I have found another side-effect of this same bug. In order to work around it, I had decided to stick with my naming choices and just move the page "Any" out of it's subdirectory: so from "/any/Any" to "/Any". This works, and I can make page links to "Any". However if I then also put in the subdirectory ("/any") and try to put other pages in there, like /any/Continued", Tap fails to recognize these pages. It seems the "Any" page is now hiding the entire "any" subdirectory path.
Now this might be some kind of expected behavior: it might just be preventing me from using my indicated workaround to temporarily evade the bug. But it's happening none the less, so I thought I should add the comment at least.
Thanks...
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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-1541) Can't find page with same name as
parent folder
Posted by "Daniel Gredler (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Gredler reassigned TAPESTRY-1541:
----------------------------------------
Assignee: Daniel Gredler
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
> Assignee: Daniel Gredler
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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-1541) Can't find page with same name as
parent folder
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAPESTRY-1541:
----------------------------------------------
Assignee: Howard M. Lewis Ship (was: Daniel Gredler)
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
> Assignee: Howard M. Lewis Ship
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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] Commented: (TAPESTRY-1541) Can't find page with same name as
parent folder
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553407 ]
Howard M. Lewis Ship commented on TAPESTRY-1541:
------------------------------------------------
Note that Tapestry now writes out to the console an "inventory" of pages (at startup), showing the mapping from logical name to class name.
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
> Assignee: Howard M. Lewis Ship
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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] Commented: (TAPESTRY-1541) Can't find page with same name as
parent folder
Posted by "Ted Steen (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531231 ]
Ted Steen commented on TAPESTRY-1541:
-------------------------------------
It will work if you add a trailing "/"
http://issues.apache.org/jira/browse/TAPESTRY-1769 is the real problem in my opinion.
I think of this more as a feature.
It enables you to create an index-like page for a package.
If you give your page the same name as your package "pages/product/Product.java"
then you will be able to access it with http://host/product/
and I think it also should be possible to access it with http://host/product
> Can't find page with same name as parent folder
> -----------------------------------------------
>
> Key: TAPESTRY-1541
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1541
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.5
> Reporter: Hugo Palma
> Assignee: Daniel Gredler
>
> It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page.
> So, it won't find "pagetwo/PageTwo" but it will find "somepages/PageTwo".
--
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