Summary

Definitions

Overview

Illustration 1

Illustration 2

-Illustration 3-
   Page Template
   Page Specification
   Page Class
   Application Specification

The Framework - a flyby

Conclusion

Biography

Resources

Illustration 3
In the last two illustrations we have seen that Pages are composed by aggregating other JWCs. We have also seen that there are two different ways of declaring a component - Explicit and Implicit declaration. An explicitly delcared component in Tapestry can be configured partly in the template and partly in the specification. This allows UI specific parameters to be configured in the template and content related parameters to be configured in the specification. Also, a component can declare some components explicitly in the specifiction and other components implicitly in the template. This allows simpler light-weight components to be declared in the template while other highly configurable components to be declared in the specification thus avoiding the clutter in the templates. Here, we will mix and match these approaches for a more pragmatic illustration.
In this slightly enhanced version of our Welcome application, we will accept the user's name and date-of-birth and display the information back on a different page. The templates for the two pages are shown in Listings 7 and 8.
<< Previous Next >>