Tapestry Developer's Guide

Howard Ship

Primix

Table of Contents

1. Introduction
Scripting vs. Components
Interaction
Security
Features
2. Web Applications
3. JavaBeans and Properties
JavaBeans
JavaBeans Properties
Property Paths
4. Tapestry Components
Parameters and Bindings
Formal vs. Informal Parameters
Embedded Components
HTML Templates
Tapestry and HTML Production
Implicitly removed bodies
Explicitly removed bodies
Limiting template content
Limits
Localization
Assets
Helper Beans
Component Specification
<specification> element
<description> element
<parameter> element
<reserved-parameter> element
<property> element
<bean> element
<set-property> element
<static-value> element
<property-value> element
<component> element
Binding elements
Asset elements
5. Tapestry Pages
Page State
Persistent Page State
EJB Page Properties
Dynamic Page State
Stale Links and the Browser Back Button
Page Loading and Pooling
Page Localization
Page Buffering
Page Events
6. Application Engines and Services
Application Servlet
Required Pages
Server-Side State
Stateful vs. Stateless
Engine Services
Logging
Private Assets
Application Specification
<application> element
<page> element
<component-alias> element
7. Understanding the Request Cycle
Service URLs and query parameters
Page service
Action and Direct listeners
Direct service
Action service
Services and forms
8. Builtin Components
Action
Any
Block
Body
Checkbox
Conditional
DateField
Delegator
Direct
ExceptionDisplay
FieldLabel
Foreach
Form
Hidden
Image
ImageSubmit
Insert
InsertBlock
InsertText
InsertWrapped
IntegerField
ListEdit
NumericField
Option
Page
PropertySelection
Radio
RadioGroup
Rollover
Script
Select
Service
Shell
Submit
ShowInspector
Text
TextField
ValidatingTextField
9. Designing Tapestry Applications
Persistent Storage Strategy
Identify Pages and Page Flow
Identify Common Logic
Identify Engine Services
Identify Common Components
10. Coding Tapestry Applications
Application Engine
Visit Object
Operating Stateless
Enterprise JavaBeans Support
Page classes
11. Designing new components
Choosing a base class
Parameters and Bindings
Persistent Component State
Component Assets
12. Tapestry and JavaScript
The Body component
Script documents
<script> element
<include-script> element
<let> element
<insert> element
<if> element
<if-not> element
<foreach> element
<body> element
<initialization> element
Script component
13. The Tapestry Inspector
Specification View
Template View
Properties View
Engine View
Logging View
A. Frequently Asked Questions