Re: Problems getting started with Tiles2/S2

2007-05-15 Thread Mansour
I found it. I think it was my fault. The documentation didn't say anything like "the plugin is not the sitemesh" so I assumed that I don't need to download sitemesh as it's included. That's not the case. You need to DOWNLOAD sitemesh. Antonio Petrelli wrote: 2007/5/15, Mansour <[EMAIL PROTEC

Re: Problems getting started with Tiles2/S2

2007-05-15 Thread Antonio Petrelli
2007/5/15, Mansour <[EMAIL PROTECTED]>: Thank you: this is closer to what I need. I am trying sitemesh. Reading the guide in this page: http://www.opensymphony.com/sitemesh/decorators.html However, the taglib is not recognized, <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"; pre

Re: Problems getting started with Tiles2/S2

2007-05-15 Thread Mansour
It's a struts 2 plugin. The lib reference is different in struts 2 and if it wasn't I wont be asking. So this the place to ask. Antonio Petrelli wrote: 2007/5/15, Mansour <[EMAIL PROTECTED]>: Thank you: this is closer to what I need. I am trying sitemesh. Reading the guide in this page: htt

Re: Problems getting started with Tiles2/S2

2007-05-15 Thread Antonio Petrelli
2007/5/15, Mansour <[EMAIL PROTECTED]>: Thank you: this is closer to what I need. I am trying sitemesh. Reading the guide in this page: http://www.opensymphony.com/sitemesh/decorators.html However, the taglib is not recognized, <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"; pr

Re: Problems getting started with Tiles2/S2

2007-05-15 Thread Mansour
Thank you: this is closer to what I need. I am trying sitemesh. Reading the guide in this page: http://www.opensymphony.com/sitemesh/decorators.html However, the taglib is not recognized, <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"; prefix="decorator" %> how do I find th

Re: Problems getting started with Tiles2/S2

2007-05-15 Thread Antonio Petrelli
2007/5/15, Mansour <[EMAIL PROTECTED]>: I have another question, Is there a way to get all the pages and actions to have the same look through the template. Let's say I have 20 action and more than 20 plain jsp pages, Do I do this for each of them. I mean the configuration is a long job by itsel

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Mansour
need to add the following to struts.xml: and then for some action foo: test Then point to /foo.action - Original Message From: Mansour <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, May 14, 2007 9:59:41 PM Subject: Re: Problems getting started

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Shahak Nagiel
; "tile.TestPage" instead. Presto. > > > - Original Message > From: Mansour <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Monday, May 14, 2007 9:08:48 PM > Subject: Re: Problems getting started with Tiles2/S2 > > I followed every sin

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Mansour
May 14, 2007 9:08:48 PM Subject: Re: Problems getting started with Tiles2/S2 I followed every single step in this email. and couldn't get tiles to work properly. I am not getting any error but the pages are displaying the way they are with no header added. I am not sure how tile works but it

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Mansour
Sorry Dave, but I don't understand what you mean by every result needs a definition. Can you give me an example please ? Do you mean for every single page on the site I need a definition ? And for each single action ? What do I put in the body ? The page I need to display ? if so, what's the po

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > but it seems to me that I have to configure it for > each single page which doesn't make sense to me. Every result that is a tile will have a corresponding tile definition, otherwise how else would it know what the tile was? > > templat

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Shahak Nagiel
MAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, May 14, 2007 9:08:48 PM Subject: Re: Problems getting started with Tiles2/S2 I followed every single step in this email. and couldn't get tiles to work properly. I am not getting any error but the pages are displaying the way

Re: Problems getting started with Tiles2/S2

2007-05-14 Thread Mansour
I followed every single step in this email. and couldn't get tiles to work properly. I am not getting any error but the pages are displaying the way they are with no header added. I am not sure how tile works but it seems to me that I have to configure it for each single page which doesn't make

Re: Problems getting started with Tiles2/S2

2007-05-11 Thread Antonio Petrelli
2007/5/11, David Chisholm <[EMAIL PROTECTED]>: org.apache.tiles.DEFINITIONS_CONFIG That with Tiles 2.0.4 will change... Just another drop in the sea :-) Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Problems getting started with Tiles2/S2

2007-05-11 Thread Antonio Petrelli
2007/5/11, Rick Schumeyer <[EMAIL PROTECTED]>: I can now answer my own question regarding Struts2/Tiles2. I hope this information helps someone else. ... Good luck. Gee Rick! Great work, it's a pity that when Struts 2 will depend on Tiles 2.0.3 this work will be lost forever ;-) Anyway, you

RE: Problems getting started with Tiles2/S2

2007-05-11 Thread David Chisholm
David -Original Message- From: Rick Schumeyer [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 12:50 PM To: Struts Users Mailing List Subject: Re: Problems getting started with Tiles2/S2 I can now answer my own question regarding Struts2/Tiles2. I hope this information helps someone

Re: Problems getting started with Tiles2/S2

2007-05-11 Thread Rick Schumeyer
I can now answer my own question regarding Struts2/Tiles2. I hope this information helps someone else. I frankly have little grasp of the relationship between S2 and T2, but this information here works for me. If anything is incorrect or misleading I would love to know about it. This infor

Re: Problems getting started with Tiles2/S2

2007-05-11 Thread Rick Schumeyer
Thanks for the help. I'm much closer now. I think I have a wrong path somewhere, but I'm not sure what to change. I get this error: Error executing tag: Attribute 'header' not found. This is the action I'm trying to render: homeTiles The section from tiles.xml:

Re: Problems getting started with Tiles2/S2

2007-05-11 Thread Torsten Römer
Some time ago when I started with Struts2+Tiles2 I made a simple "blank" Struts2+Tiles2 webapp based on the struts2-blank-2.0.6 webapp. It includes a Tiles2 configuration and a layout with some simple pages, and hopefully all required JARs. It is maybe not the perfect example but if you think it c

Re: Problems getting started with Tiles2/S2

2007-05-10 Thread Laurie Harper
Rick Schumeyer wrote: I'm trying to follow the directions at http://struts.apache.org/2.x/docs/tiles-plugin.html but with no success. At the moment, I am only trying to get the app running with tiles configured...I'm not actually using tiles yet! I get this error: SEVERE: Exception sending

Problems getting started with Tiles2/S2

2007-05-10 Thread Rick Schumeyer
I'm trying to follow the directions at http://struts.apache.org/2.x/docs/tiles-plugin.html but with no success. At the moment, I am only trying to get the app running with tiles configured...I'm not actually using tiles yet! I get this error: SEVERE: Exception sending context initialized eve