Re: Page composition strategy

2010-06-29 Thread Dale Newfield
On 6/29/10 6:23 PM, Chris Pratt wrote: I think the decision really comes down to which model you like better. No argument. I'm mainly using sitemesh with this project because I jump started it with appfuse, and that's what it used :-) -Dale -

Re: Page composition strategy

2010-06-29 Thread Chris Pratt
Yup, all that is possible with Tiles, especially with the new wildcard support in 2.1+. We had the head modification stuff working well in Tiles 2.0 and were able to have separate layouts for mobile vs desktop by using the new wildcard support. I'm in the early stages of learning sitemesh, so I c

Re: Page composition strategy

2010-06-29 Thread Dale Newfield
On 6/26/10 4:26 AM, Paweł Wielgus wrote: as a long time tiles user it would be very interesting for me to read about some specific problem that can be easily solved in sitemesh and hard or impossible to solve in tiles. One thing that's difficult to get right if you have to generate the page in

Re: Page composition strategy

2010-06-26 Thread Paweł Wielgus
Hi Dale, as a long time tiles user it would be very interesting for me to read about some specific problem that can be easily solved in sitemesh and hard or impossible to solve in tiles. If You could provide such an example i'm sure most of us using tiles would know better when to switch to sitemes

Re: Page composition strategy

2010-06-24 Thread Dale Newfield
On 6/24/10 5:33 PM, Brian Thompson wrote: Out of curiosity, has anyone on the list actually used both Tiles and Sitemesh? I'd really like to read a comparison of the two I used tiles with Struts1 about 6 years ago. I've been using sitemesh with Struts2 for the last several years. I think that

Re: Page composition strategy

2010-06-24 Thread Brian Thompson
Out of curiosity, has anyone on the list actually used both Tiles and Sitemesh? I'd really like to read a comparison of the two, not just "Sitemesh is quite easy to use." vs. "I don't think you can get much more simple than Tiles." All I really get from Googling is Sitemesh fanboys bashing Tiles

Re: Page composition strategy

2010-06-24 Thread Ken
On Wed, 2010-06-23 at 10:36 +0100, Alex Rodriguez Lopez wrote: > I've been using Tiles and always found it confusing a little bit, now > that I'm starting to test Sitemesh my vote would be for this last one. > They accomplish the same thing, only Tiles is like saying each time "my > page is mad

Re: Page composition strategy

2010-06-23 Thread Alex Rodriguez Lopez
10:03 AM, "Antonio S." wrote: Hello. I'm a beginner in web development with Struts2 and I'm planning the structure of my application. Let me tell you my problem. With 'page composition strategy' I mean the strategy for making all pages in the application share the sam

Re: Page composition strategy

2010-06-23 Thread Alex Rodriguez Lopez
iles for this Sent from my iPhone On Jun 22, 2010, at 10:03 AM, "Antonio S." wrote: Hello. I'm a beginner in web development with Struts2 and I'm planning the structure of my application. Let me tell you my problem. With 'page composition strategy' I mean the str

Re: Page composition strategy

2010-06-22 Thread Brian Thompson
> >> Hello. >> >> I'm a beginner in web development with Struts2 and I'm planning the >> structure of my application. Let me tell you my problem. >> >> With 'page composition strategy' I mean the strategy for making all >> pages in th

Re: Page composition strategy

2010-06-22 Thread satyanarayana katta
U should try tiles for this Sent from my iPhone On Jun 22, 2010, at 10:03 AM, "Antonio S." wrote: > Hello. > > I'm a beginner in web development with Struts2 and I'm planning the > structure of my application. Let me tell you my problem. > > With

Re: Page composition strategy

2010-06-22 Thread Ken
On Tue, 2010-06-22 at 19:03 +0200, Antonio S. wrote: > So, my questions are: > > 1. Can you recommend the best practice for page composition in Struts2? Stand on the shoulders of others =) > 2. Can I use Struts2 for implementing above mentioned strategies i. and > ii.? How? Look into SiteM

Page composition strategy

2010-06-22 Thread Antonio S.
Hello. I'm a beginner in web development with Struts2 and I'm planning the structure of my application. Let me tell you my problem. With 'page composition strategy' I mean the strategy for making all pages in the application share the same HTML structure (header, left-co