Tapestry 5: Building Web Applications

A step-by-step guide to Java Web development with the developer-friendly Apache Tapestry framework
Preview in Mapt

Tapestry 5: Building Web Applications

Alexander Kolesnikov

A step-by-step guide to Java Web development with the developer-friendly Apache Tapestry framework
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99 p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Tapestry 5: Building Web Applications Book Cover
Tapestry 5: Building Web Applications
$ 23.99
$ 16.80
Reactive Programming in Spring 5.0 Book Cover
Reactive Programming in Spring 5.0
$ 39.99
$ 28.00
Buy 2 for $34.30
Save $29.68
Add to Cart

Book Details

ISBN 139781847193070
Paperback280 pages

Book Description

Table of Contents

Chapter 1: Introduction to Tapestry
Why is Tapestry Special?
Is Tapestry the Savior in the World of Java Web Development?
Summary
Chapter 2: Creating Your Working Environment
Install a JDK
Install Maven
Install NetBeans
Installing Eclipse
Installing Tomcat
Configuring the Project in Eclipse
Summary
Chapter 3: The Foundations of Tapestry
Tapestry Application is a Set of Interactive Pages
Page Template and Page Class
Using Expansions
Using Components
Passing a Value Between Pages
What Can be Returned From an Event Handler
Tapestry Pages are Pooled
Making a Page Field Persistent
Using Page Activation Context
Different Ways of Defining Components
Structuring the Application
Creating and Using an Application State Object
Was an ASO Already Instantiated?
Summary
Chapter 4: Simple Components
Celebrity Collector Project
The Auxiliary Classes
TextField, PasswordField and PageLink
Limiting Access to a Page
Loop, Output and DirectLink
Another Use of PageLink Component
Radio and RadioGroup
Using Enumerations for Radio Component Values
Prefixes: prop and literal
The If and Checkbox Components
Submit Component
More Than One Submit Button
Select Component
Configuring an Application State Object
Summary
Chapter 5: Advanced Components
Grid Component
Tweaking the Grid
Changing the Column Titles
Using GridDataSource
BeanEditForm Component
Tweaking BeanEditForm
DateField Component
Changing the Styles of Grid and BeanEditForm
FCKEditor Component
Summary
Chapter 6: User Input Validation
Adding Validation to Components
Validators
Providing Custom Error Messages
Handling Validation-Related Form Events
Cross-Form Validation
BeanEditForm Validation
Summary
Chapter 7: Internationalization and Localization
Internationalization on the Java Platform
Internationalization in Tapestry
Creating and Using Message Catalogs
Providing a German Message Catalog
Switching Locale
Internationalization of Images
Using Localized Templates
Other Examples of Internationalization
Summary
Chapter 8: Creating Custom Components
How to Create a Tapestry 5 Component
Creating the Border Component
Adding a Navigation Menu
Using a Parameter
Unleashing the Power of Select Component
Creating an OptionModel
Creating a SelectModel
Creating a ValueEncoder
Selecting a Celebrity
DateInput Component
Making DateInput a Field
Adding Simple Validation
Creating a Universal Locale Switcher
Creating a Custom Service
Creating a Library of Custom Components
Summary

What You Will Learn

Authors

Table of Contents

Chapter 1: Introduction to Tapestry
Why is Tapestry Special?
Is Tapestry the Savior in the World of Java Web Development?
Summary
Chapter 2: Creating Your Working Environment
Install a JDK
Install Maven
Install NetBeans
Installing Eclipse
Installing Tomcat
Configuring the Project in Eclipse
Summary
Chapter 3: The Foundations of Tapestry
Tapestry Application is a Set of Interactive Pages
Page Template and Page Class
Using Expansions
Using Components
Passing a Value Between Pages
What Can be Returned From an Event Handler
Tapestry Pages are Pooled
Making a Page Field Persistent
Using Page Activation Context
Different Ways of Defining Components
Structuring the Application
Creating and Using an Application State Object
Was an ASO Already Instantiated?
Summary
Chapter 4: Simple Components
Celebrity Collector Project
The Auxiliary Classes
TextField, PasswordField and PageLink
Limiting Access to a Page
Loop, Output and DirectLink
Another Use of PageLink Component
Radio and RadioGroup
Using Enumerations for Radio Component Values
Prefixes: prop and literal
The If and Checkbox Components
Submit Component
More Than One Submit Button
Select Component
Configuring an Application State Object
Summary
Chapter 5: Advanced Components
Grid Component
Tweaking the Grid
Changing the Column Titles
Using GridDataSource
BeanEditForm Component
Tweaking BeanEditForm
DateField Component
Changing the Styles of Grid and BeanEditForm
FCKEditor Component
Summary
Chapter 6: User Input Validation
Adding Validation to Components
Validators
Providing Custom Error Messages
Handling Validation-Related Form Events
Cross-Form Validation
BeanEditForm Validation
Summary
Chapter 7: Internationalization and Localization
Internationalization on the Java Platform
Internationalization in Tapestry
Creating and Using Message Catalogs
Providing a German Message Catalog
Switching Locale
Internationalization of Images
Using Localized Templates
Other Examples of Internationalization
Summary
Chapter 8: Creating Custom Components
How to Create a Tapestry 5 Component
Creating the Border Component
Adding a Navigation Menu
Using a Parameter
Unleashing the Power of Select Component
Creating an OptionModel
Creating a SelectModel
Creating a ValueEncoder
Selecting a Celebrity
DateInput Component
Making DateInput a Field
Adding Simple Validation
Creating a Universal Locale Switcher
Creating a Custom Service
Creating a Library of Custom Components
Summary

Book Details

ISBN 139781847193070
Paperback280 pages
Read More

Read More Reviews

Recommended for You

Hadoop MapReduce Cookbook Book Cover
Hadoop MapReduce Cookbook
$ 29.99
$ 21.00
RESTful Java Web Services Book Cover
RESTful Java Web Services
$ 23.99
$ 16.80
Apache Tomcat 7 Essentials Book Cover
Apache Tomcat 7 Essentials
$ 23.99
$ 16.80
Moodle 1.9 Math Book Cover
Moodle 1.9 Math
$ 23.99
$ 16.80
Oracle JRockit: The Definitive Guide Book Cover
Oracle JRockit: The Definitive Guide
$ 41.99
$ 29.40
Hadoop Beginner's Guide Book Cover
Hadoop Beginner's Guide
$ 29.99
$ 21.00