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\src\main\webapp\WEB-INF\app.properties
Note that moving *.tml files to WEB-INF won't work.
T5.0.6 expects templates to be as above or in:
\myapp\src\main\webapp
Even in that case your properties files should be in:
\myapp\src\main\resources\org\example\myapp\pages\...
Cheers,
Nick.
Chris Lewis wrote:
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 the commands in the
tutorial for 5.0.6-SNAPSHOT. It complains about missing Start.html. I
noticed that a bug fix for this was checked into SVN. Will this be
added to
the snapshot?
Thanks,
Michael
Nick Westgate wrote:
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 tutorial states to put the
CreateAddress.properties
file under
src/main/resources/org/apache/tapestry/tutorial/pages/address/CreateAddress.properties
I have done that and nothing I've entered gets picked up by
tapestry. I've
restarted Jetty numerous times with no success. I've also tried moving
everything from org into WEB-INF with no success.
Can somebody tell what I am doing wrong?
I'm using 5.0.6-SNAPSHOT and Jetty 5.1.
Thanks,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]