Tapestry Tutorial

Howard Lewis Ship


Table of Contents

1. Introduction
2. Setting up the Tutorial
3. Hello World
Application Engine
Web Deployment Descriptor
Application Specification
Home Page Specification
Home Page Template
Run the Application
4. Dynamic Content
5. Hangman
The Visit Object
The Home Page
The Guess Page
Limitations
6. Creating Reusable Components
7. The Tapestry Inspector
Navigation
Specification View
Template View
Properties View
Engine View
Logging View
8. Tapestry Workbench
9. Localization
Localization of HTML Templates
Localization of Assets
Other Options for Localization
10. Further Study

List of Figures

2.1. Tutorial Index Page
3.1. Tutorial Deployment Descriptor (partial)
3.2. HelloWorld.application
3.3. Home.page
3.4. Home.html
3.5. Hello World Application
4.1. Dynamic Application
4.2. Simple.application
4.3. Home.html
4.4. Home.page
4.5. Home.java
4.6. HTML generated for Home page
5.1. Hangman Home Page
5.2. Hangman Guess Page
5.3. Hangman Failed Page
5.4. Hangman Success Page
5.5. Hangman.application
5.6. Home.java
5.7. Home.html (excerpt)
5.8. Home.page (excerpt)
5.9. Guess.html (excerpt)
5.10. Guess.jwc (excerpt)
5.11. Guess.java (excerpt)
6.1. Border Home Page
6.2. Border Credo Page
6.3. Home.html
6.4. Border.html
6.5. Border.jwc
6.6. Show Inspector Button
6.7. Home page specification
6.8. BorderEngine.java (excerpt)
6.9. Border.application (excerpt)
7.1. Tapestry Inspector
7.2. Specification View
7.3. Template View
7.4. Properties View
7.5. Engine View
7.6. Logging View (Level Selection)
8.1. Workbench
8.2. Workbench (Showing Requests)
9.1. L10N Page (English)
9.2. Locale Changed (German)
9.3. L10N Page (German)