Re: Tiles: suggestion

2001-09-13 Thread David Corbin
> Why not. Have to find a nice way to do that. Do you have something to propose > ? How about having a an attribute on the that causes all of the tiles to automatically propogate? My suggestions would be either "inherit=true", or "cascade=true". > > > > > > > And, the last question (hah!) we

Re: Tiles: suggestion

2001-09-13 Thread Cedric Dumoulin
David Corbin wrote: > > ... > > > > No real magic, but there is a better way to do that : tile attributes are > store > > in the tile context. So, using put tag, you can retrieve them directly > from this > > context : > > > > This solution allows to transfer any kind of attributes (string,

Re: Tiles: suggestion

2001-09-12 Thread David Corbin
> > > > Here's another one. Sometimes, template A which depends on template B etc. > > Do you mean a template A inserting a template B, etc ... Yes. > > > > > > > When I do this, I find I'm having to re-define the attributes in each > > successive template. > > > > > This solution allows to

Re: Tiles: suggestion

2001-09-12 Thread Cedric Dumoulin
uccessive template. > > This solution allows to transfer any kind of attributes (string, list, definition, ...), and not only String. Cedric > > > - Original Message - > From: "Cedric Dumoulin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> >

Re: Tiles: suggestion

2001-09-12 Thread peter
Hi I'm new to using Ant and Struts. Is it possible for someone to send me an example build file showing how struts apps are put together using the ant tool. Many thanks Peter

Re: Tiles: suggestion

2001-09-12 Thread David Corbin
Cool. Thanks. Here's another one. Sometimes, template A which depends on template B etc. When I do this, I find I'm having to re-define the attributes in each successive template. To: <[EMAIL PROTECTED]> Sent: Wednesday, September 12, 2001 10:51 AM Subject: Re: T

Re: Tiles: suggestion

2001-09-12 Thread Cedric Dumoulin
You can use . This disable exception throwing if attribute is not found. Otherwise, you can 'import' a tile attributes to a jsp context by using . Check tiles tag syntax (http://www.lifl.fr/~dumoulin/tiles/doc/tilesTags.html) for more. Cedric David Corbin wrote: > I've begun using the

Tiles: suggestion

2001-09-12 Thread David Corbin
I've begun using the tiles taglib to create a standard look and feel. Basically, in one page, I'll have: , etc. This works OK. But, it would be real nice if I could say and it would blow up because arg3 wasn't defined. Perhaps an 'required="false"' attribute. Or, if the things were