If I take out the contents of 

<ui:include src = "/common/meta.xhtml"/>
    <ui:include src = "/common/styles.xhtml"/>
    <ui:include src = "/common/script.xhtml"/> 

and include them directly into the masterTemplate :

<head>
    <!--<ui:include src = "/common/meta.xhtml"/>
    <ui:include src = "/common/styles.xhtml"/>
    <ui:include src = "/common/script.xhtml"/>-->

    <!-- HTTP 1.1 -->
    <meta http-equiv = "Cache-Control" content = "no-store"/>
    <!-- HTTP 1.0 -->
    <meta http-equiv = "Pragma" content = "no-cache"/>
    <!-- Prevents caching at the Proxy Server -->
    <meta http-equiv = "Expires" content = "0"/>
    <meta http-equiv = "Content-Type" content = "text/html; charset=utf-8"/>
    <meta name = "generator" content = "AppFuse 2.0"/>

    <script type = "text/javascript"
            src =
"#{facesContext.externalContext.requestContextPath}/scripts/prototype.js"></script>
    <script type = "text/javascript"
            src =
"#{facesContext.externalContext.requestContextPath}/scripts/scriptaculous.js"></script>
    <script type = "text/javascript"
            src =
"#{facesContext.externalContext.requestContextPath}/scripts/global.js"></script>

    <link rel = "stylesheet" type = "text/css" media = "all"
          href =
"#{facesContext.externalContext.requestContextPath}/styles/vantage/theme.css"/>


    <title><ui:insert name = "title">Default title</ui:insert></title>
</head>

then title works but would still like to know what the problem could be.


Thanks

..kace

example of styles.xhtml:

<html xmlns="http://www.w3.org/1999/xhtml";
xmlns:c="http://java.sun.com/jstl/core";
  xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
  xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:t="http://myfaces.apache.org/tomahawk";>

<script type="text/javascript"
src="#{facesContext.externalContext.requestContextPath}/scripts/prototype.js"></script>
<script type="text/javascript"
src="#{facesContext.externalContext.requestContextPath}/scripts/scriptaculous.js"></script>
<script type="text/javascript"
src="#{facesContext.externalContext.requestContextPath}/scripts/global.js"></script>

</html>
-- 
View this message in context: 
http://www.nabble.com/facelets-appfuse-tp14566028s2369p14566243.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to