The tml files should be right along your .class files that are compiled from your page Java classes.
for example, (contents of jar file) classes/com/myapp/tappackage/pages/Mypage.class classes/com/myapp/tappackage/pages/Mypage.tml On Oct 5, 2011, at 2:25 PM, Tim wrote: > So the page .tml files can actually be anywhere in the classpath? So I can > just put them into any jar file? > > Would the home page (Index.tml) reside in the root level of the class path > (/Index.tml) or should it be in a subfolder like /com/app/pages/Index.tml) > kinda like the components .tml files? > > -- > Tim Koop > > > On 05/10/2011 1:18 PM, Lenny Primak wrote: >> What you are doing is absolutely correct. Make sure that your war file is >> packaged as expected. That seems to be recurring problem that the tml files >> aren't deployed in your war file correctly. >> >> >> >> On Oct 5, 2011, at 2:14 PM, Tim<koop...@gmail.com> wrote: >> >>> According to http://tapestry.apache.org/project-layout.html, the page >>> template files (.tml) /may /be stored in src/main/webapp. Does this mean >>> that it's possible to put them somewhere else? I would like to put them >>> into my jar file along with my page classes. Is this possible? >>> >>> I just tried to put my Index.tml in /src/main/resources, and I tried >>> /src/main/resources/com/app/pages/ and it didn't work. >>> >>> Can somebody please confirm or deny that it's possible to put your .tml >>> page files somewhere else? >>> >>> Thanks. >>> >>> -- >>> Tim Koop >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org