Happy New Year everyone.
I changed appfuse 2.0 to use facelets instead of sitemesh for templating
composition but I am unable to display the <title></title> element.
the relevant template file looks like :
<head>
<ui:include src = "/common/meta.xhtml"/>
<ui:include src = "/common/styles.xhtml"/>
<ui:include src = "/common/script.xhtml"/>
<meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8"/>
<title><ui:insert name="title">Default title</ui:insert></title>
</head>
and I use it like so :
<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"
xmlns:v = "http://corejsf.com/validator" xmlns:a4j =
"https://ajax4jsf.dev.java.net/ajax">
<ui:composition template = "/templates2/masterTemplate.xhtml">
<ui:define name = "title">dashboard</ui:define>
but nothing appears on the browser. If i take away the <title></title> and
leave it as just
<ui:insert name="title">Default title</ui:insert> then it displays "default
title" but on the page.
Does anyone have suggestions for me?
Thanks
..kace
--
View this message in context:
http://www.nabble.com/facelets-appfuse-tp14566028s2369p14566028.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]