...
In the following example, page
is a parameter of the pagelink
component. The page parameter tells the pagelink component which page to go to when the user clicks on the rendered hyperlink:
Code Block |
---|
<html><html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<t:pagelink page="Index">Go Home</t:pagelink>
</html>
|
...
Code Block |
---|
|
<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_03.xsd">
<p> Countdown:
<t:count start="5" end="1" result="index">
${index} ...
</t:count>
</p>
</t:layout>
|
...
Code Block |
---|
|
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_03.xsd">
<body>
<div t:type="layout" t:menuTitle="literal:The Title">
...
</div>
</body>
</html>
|
Code Block |
---|
|
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_03.xsd">
<div t:type="title" t:title="inherit:menuTitle"></div>
<t:body />
</t:container>
|
...