<wicket:child>FOOTER</wicket:child> still leaves me in the same
situation of having the markup inside it (in this case FOOTER) be
repeated all over the place if I want that markup to show up when I
open the page in dreamweaver for example.
On Aug 29, 2007, at 1:12 PM, Johan Karlberg wrote:
It sounds like you want Markup Inheritance.
http://cwiki.apache.org/WICKET/markup-inheritance.html
Johan
Carlos Silva wrote:
I'm new to wicket and have a very simple question:
Got a usual html template for all my pages:
<html>
<span wicket:id="header">HEADER</span>
... page content ...
<span wicket:id="footer">FOOTER</span>
</html>
Inside my span elements for header and footer I have actual markup
and this allows me to see a full page with headers and footers by
just opening the html in a browser. The markup gets replaced by
wicket once the page is rendered via a web server.
Obviously I don't want to replicate the markup inside my span
elements to all my other 100s of pages but I do want to be able to
open all the other pages in a browser and see the header and footer.
Is this possible perhaps with some wicket tool?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]