...
Maven will (after performing a large number of one-time downloads) create a skeleton project ready to run. Because we specified an artifactId of "newapp", the project is created in the newapp
directory. (Note: if you get "Unable to get resource" warnings at this stage, you may be behind a firewall which blocks outbound HTTP requests to Maven repositories.)
To run the skeleton application, change to the newapp
directory and execute:
...
You can also load the newly-created project it into any IDE and start coding. See the next section on where to find the different components of the application.
Exploring the
...
skeleton project
A Tapestry application is composed of pages, each page consisting of one template file and one Java class.
...
Java classes are found in src/main/java/com/example/newapp/pages
Footnote |
---|
That is, in the |
Index.tml
-> Index.java
).In the test skeleton 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
What's next?
To deepen your understanding, step through For more information on this, try the Tapestry Tutorial which goes into much more detail about setting up your project, as well as loading it into Eclipse ... then continues on to teach you more about Tapestry.Then, 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 contributorsBe sure to read about the core Tapestry Principles, and browse the extensive User Guide.
Obtain Help
Tapestry has an active user mailing list on which you can find a lot of valuable support. You can subscribe users-subscribe@tapestry.apache.org or look for an answer in the archives
...