Re: How to use Templates efficently ?

2002-10-30 Thread Cedric Dumoulin
With Tiles you need one body for each page, and a definition specifying how the page is built. These definitions can be specified in one centralized file. Furthermore, there is an "extends" capability avoiding unnecessary repetitions. The problem is that you need to associate a definition to

RE: How to use Templates efficently ?

2002-10-30 Thread Pete Gieser
> I still can't see a reason to use tiles instead of a simple include > file. > > I mean, okay, you can easily change your entire layout. BUT - > in return you got twice as much files! > For each file you need a content.jsp and a content-body.jsp. I don't think so. The file you refer to as conte

Re: How to use Templates efficently ?

2002-10-30 Thread Marcus Biel
Hi Cedric, I just had a look at Chuck's chapter about tiles. I didn't read the whole chapter yet, only the half, but from what I've read so far, it doesn't seem to be so different from templates, just gots some enhanced features. Btw: I also read that it was you who created it! :-) So you should be

Re: How to use Templates efficently ?

2002-10-29 Thread Marcus Biel
Thx for all your suggestions. I am just reading chapter 14 of Chucks great Struts novel! ;-) (Chapter 14: Using Tiles) cya, marcus [EMAIL PROTECTED] schrieb: > > Definitely use Tiles as Cedric suggested. The template taglib is deprecated > in 1.1 in favor of Tiles so when you eventually migrat

Re: How to use Templates efficently ?

2002-10-29 Thread David Graham
Definitely use Tiles as Cedric suggested. The template taglib is deprecated in 1.1 in favor of Tiles so when you eventually migrate to 1.1 you'll already have Tiles in place. David _ Unlimited Internet access for only $21.95/m

Re: How to use Templates efficently ?

2002-10-29 Thread Jeff_Mychasiw
<[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:How to use Templates efficently ? Sorry this might be a dumb question, but I can't really figure out how to use struts templates efficently. I already had a look at Struts-Docu: http://localhost:8080/struts-documentation/a

Re: How to use Templates efficently ?

2002-10-29 Thread Cedric Dumoulin
Hi, You can use tiles in 1.02. You need to use the separate tilesForStruts1-0.jar file. You can find it in the distrib from the original tiles site. Then check under lib/tiles1.0. Cedric Marcus Biel wrote: Hi Cal, as far as I know tiles are only supported since 1.1, but I am strictly fo

Re: How to use Templates efficently ?

2002-10-29 Thread Marcus Biel
Hi Cal, as far as I know tiles are only supported since 1.1, but I am strictly forced to use 1.02 at work. Any other suggestions ? E.g. how to simple import other jsp's ? Marcus [EMAIL PROTECTED] schrieb: > > Take a look at Tiles - you can avoid the second page by defining the page > definiti

RE: How to use Templates efficently ?

2002-10-29 Thread Holman, Cal
: Marcus Biel [mailto:Marcus.Biel@;bmw.de] Sent: Tuesday, October 29, 2002 06:11 To: [EMAIL PROTECTED] Subject: How to use Templates efficently ? Sorry this might be a dumb question, but I can't really figure out how to use struts templates efficently. I already had a look at Struts-Docu:

How to use Templates efficently ?

2002-10-29 Thread Marcus Biel
Sorry this might be a dumb question, but I can't really figure out how to use struts templates efficently. I already had a look at Struts-Docu: http://localhost:8080/struts-documentation/api/org/apache/struts/taglib/template/package-summary.html#package_description If i figured it out correctly,