SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 62 | Next

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"


We have already seen a Tapestry page in our first application in the previous
chapter and that page was represented by a combination of two files??”Start.tml
and Start.java. It is easy to guess that Start.tml is the page template. Let's have
another look at the contents of this file:


t5first Start Page


Tapestry Start Page


This is the start page for this application, a good place
to start your modifications.
Just to prove this is live:


The current date and time is: ${currentTime}.


[refresh]




You can see that the template is a proper XML document with the element as
its root (XML declaration is omitted here, and it is not required, as a matter of fact). It
also has a namespace declaration:
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
The Foundations of Tapestry
[ 50 ]
This declaration basically says that any element or attribute having the t prefix
belongs to the Tapestry namespace, such as this single component used on the
Start page:
refresh
This is a PageLink component.


Pages:
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6