tapestry-user@jakarta.apache.org
[Top] [All Lists]

Re: page specifications in own directory

Subject: Re: page specifications in own directory
From: Andreas Bulling
Date: Mon, 27 Mar 2006 22:55:33 +0200
Hi Leo,

I know about this possibility but one has to do that for
_every_ page which is quite cumbersome :(
That's why I explicitly asked for a automatic solution
perhaps using a custom TemplateSourceDelegate.

Thanks anyway for your answer!
  Andreas

On 27. Mär 2006 - 14:19:07, Leo Sakhvoruk wrote:
| Hi Andreas,
| 
| There've been several post on the list that dealt with the issue. However,
| really quick, you can put a page template in a separate directory you just
| need to define an asset with a special '$template' name that points to that
| page template in the page spec file. As such:
| 
| <asset name="$template" path="path/to/page/template.html"/>
| 
| Hope this answers your question,
| 
| Leo

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>