Div |
---|
style | float:right; margin: 1em |
---|
title | Related Articles |
---|
class | aui-label |
---|
|
Content by Label |
---|
showLabels | false |
---|
showSpace | false |
---|
title | Related Articles |
---|
cql | label in ("component-templates","components","rendering","response") and space = currentSpace() |
---|
|
|
...
For the most part, these templates are standard HTML/XHTML; Tapestry extensions to ordinary markup are provided in the form of a Tapestry XML namespace (xmlns):
Code Block |
---|
language | xml |
---|
title | A template for a page |
---|
|
<html t:type="layout" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_34.xsd">
<h1>Bonjour from HelloWorld component.</h1>
</html>
|
Section |
---|
|
We'll cover the specific content of templates shortly, but first a few details about connecting a component to its template.
...
Code Block |
---|
|
<t:extend xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<t:replace id="title">
<h1><img src="${context:images/icon.jpg}"/>
Customer Service</h1>
</t:replace>
</t:extend>
|