You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by kranga <kr...@k2d2.org> on 2008/01/22 13:15:27 UTC
T5: Page from sub-package
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
do I get the Search.java page to be invoked?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Page from sub-package
Posted by Kevin Menard <km...@servprise.com>.
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. My opinion, it should be the other way around,
and thinking about it now, may not actually require that much of a change to
the T5 code.
--
Kevin
On 1/22/08 7:15 AM, in article 001601c85cf0$7a6a4370$0201a8c0@eschaton,
"kranga" <kr...@k2d2.org> wrote:
> 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
> do I get the Search.java page to be invoked?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org