<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- We need a doctype to allow us to use special characters like
We use a "strict" DTD to make IE follow the alignment rules. -->
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<head>
<link rel="stylesheet" type="text/css" href="${context:css/examples/examples.css}"/>
</head>
<body>
<h1>Page Links (1)</h1>
Clicking on a <strong>PageLink</strong> sends a <strong>page render request</strong>, which is a request to output a particular page.<br/><br/>
Here is a PageLink:
<div class="eg">
<a t:type="pagelink" t:page="examples/navigation/PageLinks2" href="#">Go to the page called PageLinks2</a><br/>
</div>
The request is an HTTP GET with a URL like this:
<code>http://myhost/jumpstart/examples/navigation/pagelinks2</code><br/><br/>
References:
<a href="http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/PageLink.html">PageLink</a>,
<a href="http://tapestry.apache.org/page-navigation.html">Page Navigation</a>,
<a href="http://tapestry.apache.org/component-rendering.html">Component Rendering</a>.<br/><br/>
<a t:type="pagelink" t:page="Index" href="#">Home</a><br/><br/>
<t:sourcecodedisplay src="/web/src/main/java/jumpstart/web/pages/examples/navigation/PageLinks1.tml"/>
<t:sourcecodedisplay src="/web/src/main/java/jumpstart/web/css/examples/examples.css"/>
<t:sourcecodedisplay src="/web/src/main/java/jumpstart/web/pages/examples/navigation/PageLinks1.java"/>
</body>
</html>