tapestry模板页是*.tml文件,为了给美工美化静态页面带来更大方便,tapestry的所有组件都可以t:type写成类似htm可预览的代码l。例如:
<t:pagelink t:page="Index">index</pagelink>
可写成
<a href="#;" t:type="pagelink" t:page="Index">index</a>
其他的以此类推。
第九讲:tapestry pagelink组件
tapestry页面间的跳转使用了pagelink组件,等同于html的<a>节点。使用方法非常简单