i think he is looking for something that is more autmatic;)

check diz aut: http://www.opensymphony.com/sitemesh/

with that grat stuff programmer can make pages with mertioric content, artist can make beautyfull decorator pages and non of them must take care of sth.
really kicking balls technology... i think i should be implemented in jsf...




Slawek


Is this what you are looking for?

HTH,
Aaron Bartell

<%@ page language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<html>
<head>
<[EMAIL PROTECTED] file="/inc/head.inc" %>
</head>
<body>
<f:view>
<f:loadBundle basename="com.mowyourlawn.uitext.controls" var="controls"/>
<%@ include file="/inc/header.jsp" %>


<!-- Page content goes here -->

<%@ include file="/inc/footer.jsp" %>
<h:messages styleClass="error"/> </f:view> </body> </html>



Csík Norbert wrote:

Hi!

I would like to include a default header and a default footer automatically to my generated JSF pages. Just like include-prelude and include-coda does in the web.xml file for JSP pages. I tried this one, but didn't worked.

How can I include these pages automatically in JSF?






Reply via email to