Re: Specify where to find the HTML templates

2007-04-24 Thread mateamargo
mateamargo wrote: > > > > Manri Offermann-3 wrote: >> >> Hi, >> >> how about ITemplateSourceDelegate: >> >> org.apache.tapestry. template-source-delegate >> >> or you could modify the specification resolver delegate like this >> example: >> >> http://wiki.apache.org/tapestry/SpeclessPage

Re: Specify where to find the HTML templates

2007-04-24 Thread mateamargo
Manri Offermann-3 wrote: > > Hi, > > how about ITemplateSourceDelegate: > > org.apache.tapestry. template-source-delegate > > or you could modify the specification resolver delegate like this example: > > http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF > > Regards, > > Manri > Th

Re: Specify where to find the HTML templates

2007-04-24 Thread Alejandro Scandroli
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 ap

Re: Specify where to find the HTML templates

2007-04-23 Thread Manri Offermann
Hi, how about ITemplateSourceDelegate: org.apache.tapestry. template-source-delegate or you could modify the specification resolver delegate like this example: http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF Regards, Manri mateamargo wrote: Manri Offermann-3 wrote: Hi, You can

Re: Specify where to find the HTML templates

2007-04-23 Thread mateamargo
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 look

Re: Specify where to find the HTML templates

2007-04-22 Thread Manri Offermann
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 mateamargo wrote: Howard Lewis Ship wrote: there are some hacks/kludges if its abs

Re: Specify where to find the HTML templates

2007-04-22 Thread mateamargo
Howard Lewis Ship wrote: > > there are some hacks/kludges if its absolutely necessary. Is it, or is > WEB-INF > sufficient? > Depends. How are those hacks? Are too difficult to do? -- View this message in context: http://www.nabble.com/Specify-where-to-find-the-HTML-templates-tf3603234.html

Re: Specify where to find the HTML templates

2007-04-21 Thread li li
I think it is nessesary to put all *.page file in one folder,for example: WEB-INF/pages/. It will very convinent to do this. 离人网 From: "Howard Lewis Ship" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Specify where to find the HTML templatesDate: Sat, 21 Ap

Re: Specify where to find the HTML templates

2007-04-21 Thread Howard Lewis Ship
If you move your HTML templates to WEB-INF/ it will Just Work. Tapestry locates the .page file (if it exists) first, then looks for the HTML template in the same place. If not found there, then it looks in the root. There isn't a direct way to move the templates to WEB-INF/pages, but there are s