Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Greg Reddin
On Apr 25, 2006, at 11:13 PM, Zoran Avtarovski wrote: I've found that with struts that tiles is the weakest kink in terms of documentation and tutorials. Agreed. There is a ticket open to accept patches to doc[1]. The ticket description contains an overview of what is needed. I started

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Greg Reddin
On Apr 25, 2006, at 6:19 PM, Michael Jouravlev wrote: On 4/25/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: According to the APIs, it is actually one Controller per Tile, not one Controller per page ... doesn't that give you (Michael) the hook you'd need to grab the dynamic data for each

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Zoran Avtarovski
We've been asking the same question around here. I think there two issue with tiles: 1. The first is documentation, only after reading Rick Hightower's did I discover some of the more useful features of tiles. I've found that with struts that tiles is the weakest kink in terms of documentation and

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/25/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 4/25/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > On 4/25/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > > According to the APIs, it is actually one Controller per Tile, not one > > > Controller per page ... doesn't that

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Craig McClanahan
On 4/25/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 4/25/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > According to the APIs, it is actually one Controller per Tile, not one > > Controller per page ... doesn't that give you (Michael) the hook you'd > need > > to grab the dynamic d

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/25/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > According to the APIs, it is actually one Controller per Tile, not one > Controller per page ... doesn't that give you (Michael) the hook you'd need > to grab the dynamic data for each fragment? I guess it does. But how is this better/diffe

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Craig McClanahan
On 4/25/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 4/25/06, Greg Reddin <[EMAIL PROTECTED]> wrote: > > > if I have a > > > composite page out of three JSP files, how would I run their > > > corresponding setup actions before the page is composed? > > > > > > Instead of including JSP pa

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/25/06, Greg Reddin <[EMAIL PROTECTED]> wrote: > > if I have a > > composite page out of three JSP files, how would I run their > > corresponding setup actions before the page is composed? > > > > Instead of including JSP pages I would include Struts actions (Will it > > work with Tiles? I have

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Greg Reddin
On Apr 25, 2006, at 5:15 PM, Michael Jouravlev wrote: If it is in the xml file, it is not dynamic anymore, is it? No it's not. But if the value is a really dynamic one, say you read it from a database, then you cannot set it in the definition file anyway, can you? No. It would have to be

RE: Tiles vs. + XHTML/CSS

2006-04-25 Thread David G. Friedman
e for "header.do" and one last time (#3 in this request) for "footer.do". That is a heck of a lot of overhead. (See template snippet below) > From: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 25, 2006 6:16 PM > Subject: Re: Tiles vs

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Michael Jouravlev
On 4/24/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote: > > > So, the question I am asking: what are the real benefits of using > > Tiles if I use JSP includes + XHTML/CSS for layout/styling? Can most > > of Tiles features be implemented with XHTML/CSS? > > I guess some of it

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Greg Reddin
On Apr 24, 2006, at 7:57 PM, Michael Jouravlev wrote: Does using Tiles still makes sense in 2006? I'm still trying to decide but I'm pretty sure the answer is yes. If I was working on existing code that relied heavily on Tiles I would certainly be glad to know that new development is sti

Re: Tiles vs. + XHTML/CSS

2006-04-24 Thread Rick Reumann
Michael Jouravlev wrote: So, the question I am asking: what are the real benefits of using Tiles if I use JSP includes + XHTML/CSS for layout/styling? Can most of Tiles features be implemented with XHTML/CSS? I guess some of it comes to a personal preference in regard to the dynamic content s

Tiles vs. + XHTML/CSS

2006-04-24 Thread Michael Jouravlev
Does using Tiles still makes sense in 2006? Please correct me if I am wrong, but if I understand correctly, main Tiles featurs are: * Uniform L&F (block layout, colors, etc) * Tile definitions Uniform L&F --- The layout is defined in a layout file. Follows is the layout style pulled righ