struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdullah Jibaly" <Abdullah.Jib...@aeroxchange.com>
Subject RE: [slightly OT] alternatives to Tiles?
Date Thu, 30 Jun 2005 13:59:07 GMT
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:amatijaca@gmail.com]
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 <java@wendysmoak.com> wrote:
> 
> From: "Bill Schneider" <bschneider@vecna.com>
> > 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message