Hi! *.tml files for pages MAY be placed under web context (src/main/webapp), but component templates MUST be put into classpath to the same package as corresponding Java classes.
I always put *.tml files to classpath, which is src/main/resources in my projects layout. I believe this is supported since early versions of tapestry 5.x. On Wed, Feb 12, 2014 at 7:38 PM, George Christman <gchrist...@cardaddy.com>wrote: > Hi Guys, I'm using 5.4 and my colleague brought to my attention in Igor's > Tapestry5 book he noticed an example where the tml templates were being > packaged together with the java classes. Anyhow I took it a step further > and looked into Geoff's jumpstart package structure and noticed he was > doing the same thing. The question is where is the best place to put the > templates and/or is there a major downside to placing the templates in the > java package? > > -- > George Christman > www.CarDaddy.com > P.O. Box 735 > Johnstown, New York > -- Dmitry Gusev AnjLab Team http://anjlab.com