Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread Ted Husted
On 3/27/07, Greg Reddin <[EMAIL PROTECTED]> wrote: If I had to guess I would say that the problems are mostly due to the fact that Struts 2 does not have support for Tiles 1. Not directly, but people were using Tiles 1 with WebWork 2 before Tiles 2 existed. * http://raibledesigns.com/rd/entry/

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread Ray Clough
I use S1 with T1 using the standard tiles-defs.xml definition file. I use S2 with T2 using tiles.xml file. It is true that if your jsp pages include the Tiles tags, then you would need probably need separate versions for T1 and T2. I generally only use Tiles in the Template file, and I do hav

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-28 Thread doktora
Ray, Which definition files specifically do you need to be split? One of the biggest problems I had (which I couldn't figure out) was mixing jsps with T1 and T2. At compile time, all my JSPs wanted to be either T1-compliant, or T2-compliant. Even if I had figured this out, there is still a big

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-27 Thread Greg Reddin
On 3/27/07, Ray Clough <[EMAIL PROTECTED]> wrote: I believe that it is NOT possible to use S1 with T2 or S2 with T1 - at least not out of the box. I know Antonio has worked on T2 support for S1, but I don't think it's quite ready yet Greg

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-27 Thread Ray Clough
It definitely IS possible to comingle a S1 app using Tiles1 and an S2 app using Tiles2 in the same WAR file. But they have separate definition files. You can call a S1 action from an S2 page and vice versa. I know it is possible, because I'm doing it. I believe that it is NOT possible to us

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-27 Thread Greg Reddin
On 3/27/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Your saying that any S1 app using Tiles can't, based on your experience, be run with part of it being S2-based, in the same WAR? Could you describe more what the problems you encountered were? If I had to guess I would say that the pro

Re: Struts2 and Struts1 comingling w/ Tiles

2007-03-27 Thread Frank W. Zammetti
Your saying that any S1 app using Tiles can't, based on your experience, be run with part of it being S2-based, in the same WAR? Could you describe more what the problems you encountered were? I was considering doing this for one app I have, the only one I've ever used Tiles in actually, and