This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSF and the fly likes Sitemesh with JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Sitemesh with JSF" Watch "Sitemesh with JSF" New topic

Sitemesh with JSF

gunjan bohra
Ranch Hand

Joined: Mar 24, 2004
Posts: 40
I am trying to user sitemesh with JSF,
Decorator JSP is as follow
<%@ taglib uri="" prefix="decorator"%>
<%@ taglib uri="" prefix="page"%>

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<page:applyDecorator page="/jsp/decorator/header.jsp" name="panel" title="menu"/>

and header.jsp is as follow

<%@ taglib uri="" prefix="h" %>
<%@ taglib uri="" prefix="f" %>
<hutputText id="userName" value="Test Value"/>

my faces servlet mapping and sitemesh mappings are as follow (in web.xml)

<servlet-name>Faces Servlet</servlet-name>


If I want to put <f:view > tag in decorator file ....
It's giving me error .

Please help
I agree. Here's the link:
subject: Sitemesh with JSF
It's not a secret anymore!