wicket-nest is a very simple library for Apache Wicket. You can write java code which reflected the structure of the HTML code.