JSF 2.0 Facelets template inheritance
问题 This is an extended repost of JSF 2.0 Facelets nested templates inheritance, which was loosely asked and formally answered. Here is my easy_to_earn question: template_base.xhml <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head><!-- header stuff --></h:head> <h:body> <!-- Lot of html here --> <div id="main"> <ui:insert name="main_content"/> </div> <!-- Lot of html here --> </h:body> </html> Next, I want