Hi,
Is there a way to define a parameter in the HTML markup, which is not specific for a component and is replaced when the markup tree is rendered. Consider for example the following HTML:
<html>
<header>
<script src="" ... />
<link href="" ... />
</header>
<body>
<table>
<tr><td><img src="" /></td><td>Some Text A</td></tr>
<tr><td><img src="" /></td><td>Some Text B</td></tr>
<tr><td><img src="" /></td><td>Some Text C</td></tr>
....
</table>
</body>
</html>
I want to be able to replace ${basep} without declaring a component. In the given example it seams better to just declare a component inside a repeater, but In more complex scenarios where the same text (base path) is repeated across variety of tags, which are not repetitive it seams simpler to just declare a markup variable and have it replaced without writing / declaring componets just for the purpose.
Thanks,
Yuri
- [Wicket-user] Global parameters in the html markup Yuri Magrisso
- Re: [Wicket-user] Global parameters in the html markup Yuri Magrisso
- Re: [Wicket-user] Global parameters in the html markup Igor Vaynberg
