tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Longman <glong...@gmail.com>
Subject Re: Spindle & Tap 3.1 - pointed questions
Date Wed, 30 Mar 2005 20:10:11 GMT
BTW, I'm curious as to how everyone else works day to day with these
lookup rules. Does it ever cause confusion?

I have an opinion which is biased of course and not aligned with
trench dwelling Tap users anyhow.

Geoff

> For a page called "admin/Menu" the lookup would proceed (for app namespace):
> 
> 1. as defined in .application - how does that work with a <page> tag
> that allows extra path info in the name attr but still (according to
> Tap 3.1 DTD) requires a specification-path?
> i.e. <page name="admin/Menu" specification-path="app/extra/Menu.page"/>
> 
> Ah, I think I understand. In this case Tapestry uses the path to
> locate the spec and if it's template is no co-located it uses the path
> info in the name to check if the template exists relative to the
> context root. no?
> 
> 2. context/WEB-INF/path to .application/admin/Menu.page
> 3. context/WEB-INF/servlet-name/admin/Menu.page
> 4. context/WEB-INF/admin/Menu.page
> 5. context/admin/Menu.html
> (omitting the spec resolver delegate option).
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message