Contents
The Tapestry Cookbook is a collection of tips and tricks for commonly occurring patterns in Tapestry.
- Default Parameter — Avoiding repetition when using component parameters by adding autoconnect=true
- Overriding Exception Reporting — Customizing Tapestry's default exception reporting page
- Supporting Informal Parameters — How to make your custom component accept and pass on all unknown parameters to the underlying HTML element
- Component Libraries — How to create a library of your custom components
- Switching Cases — Performing the equivalent of a "switch" statement in your component template using blocks and a delegate
- Enum Parameter Recipe — Using an Enum as a component parameter using coercion
- Error Page Recipe — Serving up a Tapestry page as your site's custom 404 response page
- Extending the If Component — Adding a type coercion to enable the If component to test for anything
- Meta-Programming Page Content — Adding an Annotation and a Filter to customize Tapestry's page rendering
- Using Select With a List — Using SelectModel, SelectModelFactory and ValueEncoder for Select menus populated from a database
- IoC cookbook — Tips and tricks for using Tapestry's Inversion of Control container
- Performance and Clustering
