NOTE: This is outdated information that applies only to Tapestry 4. For the Tapestry 5 see Tapestry5HowTos |
Tapestry 4.0 How-To page
Tutorials
http://www.agileskills2.org/EWDT Tutorials (e-book) by Kent Tong. Updated for Tapestry 4.
Organising templates
HtmlTemplatesAndBorderComponent Organising the html using a custom border component
CustomTagsInShell How to make the Shell component output custom HTML tags
ApplicationBorderComponent How to use an application specific Border component inside a library
WysiwygWithoutBorder Maintain templates that render in a brower(when opened as a file)
SpeclessPagesInWEB-INF How to have specless pages with the templates under WEB-INF rather than at the servlet context root.
PagesAndComponentsInWEB-INF How to store pages and components in a custom location without specifying each
contrib:Table
SimpleHibernateTableModel a simple tablemodel with hibernate integration
Form Validation
CreatingCustomValidators How to create a custom validator
CreatingCustomTranslators How to create a custom translator
CheckingForRequiredValidator In case you want to have some visible marker on a page indicating a field is required
ChangingStandardValidatorsMessages (still empty) How to override the standard validation error messages
DojoTooltipsForClientValidation Report validation errors with a dojo tooltip
Resources / I18n
UsingCustomResourceSource How to use a custom resource source, e.g. reading resources from a database instead of .property files
UsingCustomResourceSourceForLibs How to use a customer resource source in your libraries
ASOs and Persistence
FormClientPersistence A client persistence strategy that only persists to forms
SessionPagePersistence A session persistence strategy that only persists data until a different page is rendered
CheckingVisitCreation How to make sure that visit (or any other ASO) is not created where it shouldn't be!
Tapestry+Spring+SSO+ASO Using Application Service Objects that validates a user in Tapestry via Spring
InjectPropertyIntoASO How to inject a property into an Application State Object (ASO)
InjectASOIntoService How to inject an Application State Object (ASO) into a Tapestry Service
Serving alternative content
EmittingRSSFeeds How to emit an RSS feed with Tapestry 4.0
ExportingCSVFiles How to export data in a CSV file
SendingDiferentContentTypes How to emit binary data
Misc
HowToSetupEclipseCallistoJetty Setting up Eclipse 3.2, JettyLauncher, and Jetty5 from square one.
HowToSetupEclipseWtp How to setup your development environment with Eclipse Web Tools Platform
HowToSetupTapestry41EclipseWtp How to setup your development environment with Eclipse Web Tools Platform, updated for Tapestry 4.1 and Eclipse 3.2.2
Tapestry4Spring How to integrate Tapestry 4.0 and Spring
LogoutLinkTap4 How to implement a logout link - invalidate the session
Hivemind4Beginners How to create hivemind services if you've never seen a hive and the docu makes your mind buzz
Tapestry4Conversion Scripts to automatically convert your old Tapestry v3 code to work with Tapestry v4.
PopupLinkSubmit Simple component to submit a form a open a popup window on an external page
AcegiSpringJava5 How to secure Tapestry pages with Java5 annotations using the Acegi security framework
AcegiTapestry5 How to secure Tapestry5 pages with Java5 annotations using the Acegi security framework
Webapp_Deployment Pitfalls when deploying Tapestry
TokenizedRequestFilter How to preserve POST and GET data for expired sessions
Dynamically_Generated_Checkboxes How to use lists of checkboxes generated in a for loop
Override_Tapestry_Default_Exception_Page How to override the Tapestry default exception page