dev@woodstock.java.net

Re: Facelets + Woodstock

From: Jason Lee <jason_at_steeplesoft.com>
Date: Wed, 12 Sep 2007 16:18:55 -0500

On 9/12/07, Jason Suplizio <suplizio_at_gmail.com> wrote:
>
> In your layout.xhtml the <head> needs to be a <webuijsf:head/>


I think
<head>
    <w:themeLinks />
</head>

will work too.

Without using any beans or propert files, how then do I pass a page title
> from the index.xhtml page to the layout page? To add the value of the page
> title dynamically to the <title></title> tag?
>

<title>
    <ui:insert name="title">Default Title</ui:insert>
</title>
...
<ui:define name="title">The Real Title</ui:define>

-- 
Jason Lee, SCJP
Software Architect -- Objectstream, Inc.
JSF RI Dev Team
http://blogs.steeplesoft.com