Re: T5: Page from sub-package

2008-01-22 Thread kranga
Thanks for the input Kevin... The T5 documentation states: The dispatcher here strips terms off of the path until it finds a known page name. Thus, "/mypage/27" would look first for a page whose name was "mypage/27", then look for a page name "mypage". Assuming the second search was succesful,

Re: T5: Page from sub-package

2008-01-22 Thread Kevin Menard
I remember running into that before. I spent some time trying to figure it out before deciding to just restructure my pages. The issue, as near as I can tell, is that Tapestry cannot distinguish between activation context and pages. Or rather, a preference is given to the former over the latter.

T5: Page from sub-package

2008-01-22 Thread kranga
I'm using 5.0.7 I have a page called Admin.java in the root "pages" package. I also have a page called Search.java in package "pages/admin/" When I send a request to /admin, Tapestry correctly renders the admin page. But when I send a request to /admin/search, I still get the admin page. How d