Is it possible to apply TextTempate inside the markup of the component?
More specifically, for the following markup:
<wicket:head>
<style>
#${componentId} .selected {
background: blue;
}
</style>
</wicket:head>
<wicket:panel>
This is markup for my component
</wicket:panel>
the generated markup would replace the ${componentId} with the component
markupId.. (same way - interpolate any other field dynamically using
TextTemplate).
I know that it is possible to interpolate variables on a file which is
contributed in a head (css or js), but I am interested in the interpolation
of the markup itself.
Thank you!
--
View this message in context:
http://www.nabble.com/Applying-TextTempate-on-the-component%27s-markup-tf3780259.html#a10690722
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user