Jack and Joe,

I believe there are 2 ways of using Tiles: 

1. Placing definitions in XML. This solution works well with Struts because
I can hide all my JSP in WEB-INF, define how each page is decorated, and
invoke the tile definition name in a Struts forward.

2. Placing Tiles tags in JSP. This solution works well during rapid
prototyping or where JSP pages need to be directly accessed by the user.
Personally, it's a bear to inline decorate my pages when I am not doing
Struts. I'd rather work with a filter and the XML configuration.

>>If you like SiteMesh, why not use SiteMesh?  Is there something that 
needs to be done to make it integrate better with Struts?  If not, I 
don't see any reason to re-invent the wheel.

If I have a system already built in Struts, it becomes a little awkward to
host multiple JSP decorating technologies together. Yes, SiteMesh will do
this, but my first love is Tiles :)

I hope this helps! I don't mind going another round if it doesn't :)

Thanks,
Paul

-----Original Message-----
From: Shey Rab Pawo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 03, 2005 10:26 AM
To: Struts Users Mailing List
Cc: struts-user@jakarta.apache.org
Subject: Re: Tiles and Facades


Hello, Paul,

I am not sure exactly what you are getting at here, although the topic
is clear.  I guess that one thing that makes reading this difficult is
that I have not investigated SiteMesh.  I do use Tiles definitions in
XML exclusively, and you seem to be talking about situations where
that is not done.  Can you expand on this a bit?

I am not working, obviously, on the Tiles development, so I won't be
able to answer your question in any event, but find the question
itself interesting.

Thanks,

Jack


On Thu, 3 Feb 2005 10:12:44 -0500, Benedict, Paul C
<[EMAIL PROTECTED]> wrote:
> I read a rumor that said Tiles will become its own top-level subproject in
> Jakarta. Is that true?
> 
> Also, I think Tiles is great, but I find it very annoying to litter every
> JSP page with <tiles> tags to decorate my pages. While it makes sense to
put
> the tile definitions in XML when I do Struts development, sometimes JSP
> needs to be accessed directly. Is there (or will be) any mechanism (like a
> filter) to can automatically decorate JSP (ala SiteMesh)?
> 
> Thanks,
> Paul
> 

Jack

-- 
The radiance of all the stars does not equal a sixteenth part of the
moon's radiance, likewise, good deeds giving us merit, all these do
not equal a sixteenth part of the merit of loving-kindness..

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




------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New 
Jersey, USA 08889), and/or its affiliates (which may be known outside the 
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as 
Banyu) that may be confidential, proprietary copyrighted and/or legally 
privileged. It is intended solely for the use of the individual or entity named 
on this message.  If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then delete 
it from your system.
------------------------------------------------------------------------------

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

Reply via email to