Re: T5: how to use message catalogs for individual page

2007-10-09 Thread jblier
Finally! RESOLVED! My solution is: \myapp\src\main\java\org\example\myapp\pages\Test.java \myapp\src\main\resources\org\example\myapp\pages\Test.properties \myapp\src\main\webapp\WEB-INF\Test.html ${message:propertyName} now work for any .properties files. - Jacques jblier wrote: > > I need

Re: T5: how to use message catalogs for individual page

2007-10-09 Thread jblier
I need help in order to load specific properties. With the couple Text.tml and Test.properties, how do you call the display of the proper property in the template file? Right now, I'm able to load only the properties stored in app.properties using ${message:propertyName}. I'm back to 5.0.5, (to

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread mnguyen21
That's not my problem. When I do a checkout 'mvn archetype:create .' the process fails and complains about not being able to find Start.html. I haven't started writing any code at that point. Here's the command I use: mvn archetype:create \ -DarchetypeGroupId=org.apache.tapestry \

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread Nick Westgate
I should clarify that things are working for me in these folders: \myapp\src\main\java\org\example\myapp\pages\sub\Test.java \myapp\src\main\resources\org\example\myapp\pages\sub\Test.tml \myapp\src\main\resources\org\example\myapp\pages\sub\Test.properties Global properties should go in: \myapp\

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread Chris Lewis
Template file names must be named *.tml, and NOT *.html, as of 5.0.6-SNAPSHOT. mnguyen21 wrote: 1 ) I want to change the labels of the fields of the form. 2) I am using Eclipse and launching using the Jetty Launcher 3) no exceptions or errors -- btw, I can't seem to do a project checkout using

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread mnguyen21
1 ) I want to change the labels of the fields of the form. 2) I am using Eclipse and launching using the Jetty Launcher 3) no exceptions or errors -- btw, I can't seem to do a project checkout using the commands in the tutorial for 5.0.6-SNAPSHOT. It complains about missing Start.html. I notice

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread Nick Westgate
I verified today that this works. How are you using the properties? Are you launching from Eclipse or maven? Do you get any console errors or exceptions? Cheers, Nick. mnguyen21 wrote: Hello, I'm trying to follow the form tutorial and am having some trouble with the message catalog. The tu