Martin,

Your question was excellent: can I use SiteMesh with the standard Struts 
taglibs?  YES.  Since SiteMesh is a filter that
sees completed web pages, I've had no problem using Struts taglibs with 
SiteMesh in the past.

The SiteMesh filter just allows the page, be it html, a jsp you called, a 
struts action, etc. to have it's final layout
modified slightly.   This allows many different types of pages (or directories, 
etc.) to be wrapped in your site(s)
template.  It also allows for unusual things like automatically inserting 
Browser specific (see the examples) code
snippets, style sheets, etc.  It can be especially easy to cobrand pages or 
your site using SiteMesh.  If you would like
to skim across some SiteMesh examples, a war can be found here:

https://sitemesh.dev.java.net/files/documents/887/7638/sitemesh-example.war

Regards,
David

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 10:45 PM
To: Struts Users Mailing List
Subject: Re: generel tiles question..


Good Evening David-
Dumb question but I have to ask
Are you restricted to just sitemesh tags in the decorator pages or can you
use struts-taglib as well?
Thanks,
Martin-
----- Original Message -----
From: "David G. Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, December 14, 2005 5:26 PM
Subject: RE: generel tiles question..


> If you are using the menu for all pages and also want to use many static
> pages, I suggest you also look at SiteMesh.
> http://www.opensymphony.com/sitemesh/
>
> Regards,
> David
>
> -----Original Message-----
> From: Priya Saloni [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 14, 2005 5:09 PM
> To: user@struts.apache.org
> Subject: generel tiles question..
>
>
> Hi there,
>
> I have a web application which contains many static(HTML) and dynamic
> (JSP)
> pages.As per thr requirement i need to have a common Menu(HTML) for all
> the
> pages(JSPs and HTMLs).Can i use Tiles Framework for the purpose of
> reusability?or the tiles framework is   used to work with JSPs?
>
> Thanks In Advance
>
> Priya


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to