Re: Parser Question
Jamie <[email protected]> Fri, 17 Feb 2006 06:30:50 CST
| Newsgroups | gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user |
|---|---|
| Message-ID | <3209252.1140179512215.JavaMail.os-j2ee@opensymphony01.contegix.com> |
Scott, Here's what the decorator looks like: <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%> <%------------------------------------------------------------------ This is the main decorator. It includes style sheet, header, footer and copyright notice. -------------------------------------------------------------------%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <%--Define Reference to FastPage Object, which holds information pertaining to the source JSP --%> <decorator:usePage id="sourceJSP" /> <!--BEGIN HEAD SECTION --> <head> <title> <decorator:title default="Default Title" /> </title> <link rel="stylesheet" href="/css/app.css type="text/css" /> <decorator:head /> </head> <!-- BEGIN BODY --> <%-- The body id, class, and onload attributes must be dynamically set from the content JSPs since they vary between pages --%> <body class="<decorator:getProperty property="body.class" />" id="<decorator:getProperty property="body.id" />" onload="<decorator:getProperty property="body.onload" />"> <%--INCLUDE COMMON HEADER--%> <jsp:directive.include file="include/StandardHeader.jspf" /> <%--BODY HTML FROM ORIGINAL JSP --%> <decorator:body /> <%--INCLUDE COMMON FOOTER --%> <jsp:directive.include file="include/StandardFooter.jspf" /> </body> </html> Thanks again for the help. Just as a note, I reviewed the standard header JSP fragment and it does not contain any reference to the <script> tags. Jamie Jamie --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=18643&messageID=36764#36764 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]