Hi:
I have one question about Markup inheritance. It seems that we can put
only one <wicket:extend> in the base html file, such as:
<html>
<head></head>
<body>
<div id="header">
<span wicket:id="header"></span>
</div>
<div id="body">
<wicket:child />
</div>
<div id="footer">
<span wicket:id="footer"></span>
</div>
</body>
</html>
Can we do something like this ?
<html>
<head></head>
<body>
<div id="header">
<span wicket:id="header"></span>
</div>
<div id="sidebar">
* <wicket:child1/>
* </div>
<div id="body">
* <wicket:child2/>
* </div>
<div id="footer">
<span wicket:id="footer"></span>
</div>
</body>
</html>
And the corresponding inhereted html is:
<body>
<div id="header"> <span wicket:id="header"></span>
</div>
<div id="sidebar">
* <wicket:extend1>
......
</wicket:extend1>
* </div>
<div id="body">
* <wicket:extend2>
......
</wicket:extend2>
* </div>
<div id="footer">
<span wicket:id="footer"></span>
</div>
</body>
</html>
If not , what we can do to achieve the purpose ?
Thank you in advance!
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user