myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bartell <aaronbart...@gmail.com>
Subject Re: auto page include
Date Fri, 01 Apr 2005 17:16:13 GMT
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>
    <%@include 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?
>

Mime
View raw message