Problem with the Sitemesh , my sources are included. pleas help
legolas <[email protected]> Tue, 17 May 2005 15:05:19 CDT
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <8563062.1116360349849.JavaMail.os-j2ee@opensymphony01.contegix.com> |
Thank you very much for your answer
I changed the decorator.xml as follow
<decorators defaultdir="/tiles">
<decorator name="main" page="mainLayout.jsp">
<pattern>*</pattern>
</decorator>
<decorator name="window" page="/decorators/window.jsp"/>
</decorators>
and in mainLayout.jsp i changed the decorators difinition as follow
<TR>
<TD width="58" height="235" colspan="2"><page:applyDecorator name="window" page="header.jsp" />
</TD>
<TD width="84" height="235"><page:applyDecorator name="window" page="search.jsp" /></TD>
</TR>
But i still get the same error message ,
The directory of my decorators (e.g. mainLayout is tiles in root of my web application does it scense?)
I searched all the web but i did not find a simple example to show me how i can simply partition my pages by putting a partitioned table on the Layout file
and just loading other JSPs into it :(
thank you
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=2124&messageID=6755#6755
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]