<html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> | |
<p> | |
This page demonstrates the ability to inject assets into components and pass them around as parameters. | |
</p> | |
<p> | |
The Tapestry banner: | |
</p> | |
<img id="icon" src="${icon}"/> | |
<p> | |
A classpath asset: | |
</p> | |
<img id="button" src="${button}"/> | |
<p> | |
Relative asset via asset: binding | |
</p> | |
<img src="${asset:../smiley.png}"/> | |
</html> |