Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added instructions on where to find page templates and classes

...

For more information on this, try the Tapestry Tutorial which goes into more detail about setting up your project, as well as loading it into Eclipse ... then continues on to teach you more about Tapestry.

Exploring the test project

Tapestry page templates have the .tml extension and are found in src/main/webapp. They are basically HTML with some special markup tags.

Java classes are found in src/main/java/com/example/newapp/pages and their name matches their template name (Index.tml -> Index.java).

In the test project, most of the HTML is not found on the pages themselves but in a Layout component which acts as a global template for the whole site. Java classes for components live in src/main/java/com/example/newapp/components and component templates go in src/main/resources/com/example/newapp/components

More

Learn more about Tapestry Philosophy and then checkout our full Documentation page on which you will find a lot of resources written by committers and contributors.

...