Created
February 10, 2013 12:47
-
-
Save nazartm/4749493 to your computer and use it in GitHub Desktop.
Templating in Wicket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org" lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"/> | |
</head> | |
<body> | |
<header> | |
<h1> | |
<img src="img/logo.png" id="logo"/> | |
<wicket:message key="site.title">site title</wicket:message> | |
</h1> | |
</header> | |
<div id="content"> | |
<wicket:child/> | |
</div> | |
<footer> | |
<p>Footer text</p> | |
</footer> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org" lang="no"> | |
<head> | |
<title>Page title</title> | |
</head> | |
<wicket:extend> | |
<h1>Sample page.</h1> | |
</wicket:extend> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment