When I have explicitly define a template I use this in my component/page:
@Asset(value = "/org/trails/component/ObjectTable.html") public abstract IAsset get$template(); Where "value" points to your html template. The method name is very important you can't change it. The down side of this approach is that you have to explicitly define all the templates for all your pages, but if you can't find a better approach this one will work. Saludos. Alejandro. On 4/23/07, mateamargo <[EMAIL PROTECTED]> wrote:
Manri Offermann-3 wrote: > > Hi, > > You can use the ISpecificationResolverDelegate and specify where to find > the specs and htmls. Try something like this: > > http://wiki.apache.org/tapestry/PagesAndComponentsInWEB-INF > > Best regards, > > Manri > Hi, thanks for your answer. I'm looking something exactly like that, but not for the *.pages files (because I don't have any), but for my HTML templates files. After doing what that wiki says, Tapestry forces me to use a .page file for each template. Is there something similar to this org.apache.tapestry.specification-resolver-delegate but with templates? Thanks. -- View this message in context: http://www.nabble.com/Specify-where-to-find-the-HTML-templates-tf3603234.html#a10140866 Sent from the Tapestry - User mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
