Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated namespace URLs

...

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
xml
xml
<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
xml
xml
titleIndex.tml
<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
xml
xml
titleLayout.tml
<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>

...