Re: Duplication of Template Files Solution

2001-11-02 Thread Cedric Dumoulin
to get > something to work and not necessarily the best > approach. > > - Sandeep > --- Darryl Pentz <[EMAIL PROTECTED]> wrote: > > Cool. That's interesting. And you mentioned > > something about being able to > > manipulate placement of tiles from

Re: Duplication of Template Files Solution

2001-11-02 Thread Cedric Dumoulin
ing, hence my request above. > > thanks, > Darryl > > > -Original Message- > > From: Sandeep Takhar [mailto:[EMAIL PROTECTED]] > > Sent: 01 November 2001 18:05 > > To: Struts Users Mailing List > > Subject: Re: Duplication of Template Files Solution > > &

RE: Duplication of Template Files Solution

2001-11-01 Thread Sandeep Takhar
mentioned > something about being able to > manipulate placement of tiles from within the Action > class. How is that > done? > > - Darryl > > > -Original Message- > > From: Sandeep Takhar > [mailto:[EMAIL PROTECTED]] > > Sent: 01

RE: Duplication of Template Files Solution

2001-11-01 Thread Darryl Pentz
To: Struts Users Mailing List > Subject: RE: Duplication of Template Files Solution > > > When I tested it (a very simple test) I used the > following in the struts-config.xml file: > > > type="org.apache.struts.example.tiles.test.SandeepTestAction"> > &g

RE: Duplication of Template Files Solution

2001-11-01 Thread Sandeep Takhar
s definition from the > struts-config action mapping, hence my request > above. > > thanks, > Darryl > > > -Original Message- > > From: Sandeep Takhar > [mailto:[EMAIL PROTECTED]] > > Sent: 01 November 2001 18:05 > > To: Struts Users Mailing

RE: Duplication of Template Files Solution

2001-11-01 Thread Darryl Pentz
t; To: Struts Users Mailing List > Subject: Re: Duplication of Template Files Solution > > > man i suck, i did it again. > > finish the thought, than send the mail. > > ok -- what I meant was that unlike what your initial > e-implies: that tiles works exactly like >

Re: Duplication of Template Files Solution

2001-11-01 Thread Sandeep Takhar
man i suck, i did it again. finish the thought, than send the mail. ok -- what I meant was that unlike what your initial e-implies: that tiles works exactly like template-tags, what I meant was that you can create the duplicate definition in the xml file and than reference this layout definition

Re: Duplication of Template Files Solution

2001-11-01 Thread Sandeep Takhar
Tiles allows you to do this as well. btw: I have replied to another reply in this same thread about other things I like about tiles. In my usual haste I deleted the original message when I realized there was something more I wanted to say. - sandeep --- Darryl Pentz <[EMAIL PROTECTED]> wrote: >

Re: Duplication of Template Files Solution

2001-11-01 Thread Sandeep Takhar
I believe there is a limitation to the size of the file that can be used like this. I don't know about performance. There are other benefits of using tiles -- at least for me these include dynamically creating the ui in the controller for hierarchical input forms (forms that are similar but diff

Re: Duplication of Template Files Solution

2001-11-01 Thread Erik Hatcher
This was intended to work this way and, like you, did not see it as a possibility in the documentation. Not satisfied with putting things into separate files I searched the e-mail list for and saw an example someone had posted using it in-line and have used that method ever since. Erik ---