Take a look at SiteMesh. It's much better than Tiles for page decoration (not 
composition), which looks like exactly what you need. You just define one (or 
more) decorators (layout pages) and SiteMesh will automatically format your 
pages using that layout page.

Regards,
Abdullah

-----Original Message-----
From: Aleksandar Matijaca [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 8:28 AM
To: Struts Users Mailing List
Subject: Re: [slightly OT] alternatives to Tiles?


I believe that if you are using JSP includes, the included file, "looses" 
any objects that were put in using request.setAttribute(...) ? I have found
that using jsp:includes is typicaly good enough to include any group page
imports, definitions and maybe any JavaScript...

Regards, Alex.


On 6/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> 
> From: "Bill Schneider" <[EMAIL PROTECTED]>
> > Tiles is very powerful but I've found that 99% of the time I'm only 
> using
> > it to wrap a page in a consistent layout/navigation. It seems like I'm
> > not getting enough value out of it to justify the additional layer of
> > indirection of having to touch tiles-defs.xml. I also would love to be
> > able to include header/footer pages from another webapp context.
> 
> What about plain-old jsp includes? Maybe they're "enough" for your needs.
> 
> And, tiles-defs.xml is optional-- you can use the Tiles tags directly in 
> the
> page. See if this helps:
> http://www.onjava.com/pub/a/onjava/excerpt/progjakstruts_14/index4.html
> 
> --
> Wendy Smoak
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to