Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Patrick Moore
Sounds like a good idea to me btw I was looking to figure out where I started going wrong in my understanding. I fell victim to a "confirmation bias" that was "confirmed" by this page: http://tapestry.apache.org/tapestry5.1/tutorial1/first.html , which indicated that T5 required all templates

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Howard Lewis Ship
The only exception is page templates which are allowed to be stored in the context root. And in fact, if I were starting T5 again, that would not be supported. It may even be removed in a future release. On Sun, Aug 8, 2010 at 12:07 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote:

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Thiago H. de Paula Figueiredo
On Sat, 07 Aug 2010 20:34:29 -0300, Patrick Moore wrote: Hi there -- Hi! I am working to move our project from T4 to T5. In T4 we are using the tacos component resolver that allows the templates and properties files to be in the same directory. In T5 how can we do the same thing? In

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Patrick Moore
Well ... sure enough... it works! I was expecting a problem because the documentation kept talking about /webapp being the required directory for the .tml files. With no mention of any other option, I was expecting to have to rig it up. thanks! Patrick Moore Amplafi http://amplafi.com mobile: 65

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Ville Virtanen
T5 application works ok as is if the files are in the same directory. If you use maven, then the maven default structure layout dictates that the non-java files must be in resources or webapp folders. (The build process copies the resources to the same directory structure from java and resources

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Sven Homburg
be sure that your IDE copies the resource files (properties/tml) into your classpath (WEB-INF/classes) with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/8/8 Patrick Moore > > I tried with the tutorial and it didn't work. the rendering failed. >

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-08 Thread Patrick Moore
I tried with the tutorial and it didn't work. the rendering failed. Patrick Moore Amplafi http://amplafi.com mobile: 650-207-9792 "Put your front window on your front page" corp blog : http://amplafi.com/blog personal blog : http://www.sworddance.com/blog On Sat, Aug 7, 2010 at 10:38 PM, Josh Ca

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-07 Thread Josh Canfield
> I am working to move our project from T4 to T5. In T4 we are using the tacos > component resolver that allows the templates and properties files to be in > the same directory.  In T5 how can we do the same thing? Hmm... Just do it. The .tml and properties can be in the same package structure as

T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-07 Thread Patrick Moore
Hi there -- I am working to move our project from T4 to T5. In T4 we are using the tacos component resolver that allows the templates and properties files to be in the same directory. In T5 how can we do the same thing? In T4, I have found that having all 3 files .java, .properties, .tml in the