With this
book you will see that a contemporary component-based framework can be easy to
learn and a pleasure to work with.
Preface
[ 3 ]
Conventions
In this book, you will find a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an
explanation of their meaning.
There are three styles for code. Code words in text are shown as follows: "A
Template must be a well-formed XML document, which means that every element
must be either declared as empty or properly closed (say, you can have
![]()
src=""/> or
![]()
, but not just
![]()
), and all attributes'
values must be enclosed in quotation marks."
A block of code will be set as follows:
package com.packtpub.t5first.pages;
import java.util.Date;
/**
* Start page of application t5first.
*/
public class Start
{
public String getCurrentTime()
{
Date date = new Date();
String message = ". Tapestry is cool!";
return date + message;
}
}
New terms and important words are introduced in a bold-type font.
Words that you see on the screen, in menus or dialog boxes for example, appear in
our text like this: "Let's add one more piece of information to those that we already
collect from the users at the Registration page??”Date Of Birth.
Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25