Re: tiles question

2003-10-30 Thread Frers Michael
Hi well this is ok tiles is used to manage many jsp sides with all nearly the same layouts over one configuration file this means you have to maintain (if you use full tiles power) minimum 3 files: the layout jsp (setting positions of header, body, footer, and so on) the content files (foreach

Re: tiles question

2003-10-30 Thread Adam Hardy
On 10/30/2003 09:00 AM Frers Michael wrote: Hi well this is ok tiles is used to manage many jsp sides with all nearly the same layouts over one configuration file this means you have to maintain (if you use full tiles power) minimum 3 files: the layout jsp (setting positions of header, body,

Re: tiles question

2003-10-30 Thread Ruth, Brice
There's a method of reducing this duplication in Ted Husted's Struts in Action book - the method, I believe, is called the body wrap method and it addresses a particular situation that is common, that allows you to eliminate this duplication. Also, you can define and extend tile definitions in

RE: tiles question

2003-10-30 Thread shirishchandra.sakhare
/ /definition In fact, ted Husteds book(Struts In Action)has a very chapter about it.That should ehlp u. Regards, Shirish -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 3:48 PM To: Struts Users Mailing List Subject: Re: tiles question

Re: Tiles question

2003-07-17 Thread Sandeep Takhar
Haven't gone into the details of it.. but could you pass in one definition (override) over the other where one putlist is different than the other and each has a role name on it? sandeep --- Alex Shneyderman [EMAIL PROTECTED] wrote: I have tiles definition file and and I use putList

RE: Tiles question

2003-06-25 Thread Kamholz, Keith (corp-staff) USX
Can you explain what you want to do in english, rather than pseudocode? -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:54 AM To: [EMAIL PROTECTED] Subject: Tiles question I am looking to do something like what is listed below,

RE: Tiles question

2003-06-25 Thread Bailey, Shane C.
Look at the bottom of the original message. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:02 PM To: 'Struts Users Mailing List' Subject: RE: Tiles question Can you explain what you want to do in english, rather

RE: Tiles question

2003-06-25 Thread Bailey, Shane C.
Here is a little more detail: I want a single reusable JSP error page which will have two pieces. 1. The message the user sees must be variable (was a prob., figured out a decent solution. I still want multi-line, formatted HTML to be sent to the JSP though) 2. The stacktrace printed in

Re: Tiles question

2003-06-19 Thread Sergey Smirnov
Did you add Tiles plugin in your struts-config.xml ? - Original Message - From: Mykola Ostapchuk [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 6:48 PM Subject: Tiles question Hello, I'm new to tiles and can't make it work. I'm trying

Re: Tiles question

2003-06-19 Thread Mykola Ostapchuk
, 2003 10:12 PM Subject: Re: Tiles question Did you add Tiles plugin in your struts-config.xml ? - Original Message - From: Mykola Ostapchuk [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 6:48 PM Subject: Tiles question Hello

Re: Tiles question

2003-06-19 Thread Jason Lea
Hi, The action DoFirst.java isn't putting the userList bean into the request. It should be doing something like request.setAttribute(userList, userListBean); It is also using the 'perform()' method, if you are using the latest struts then you should be using the 'execute()' method instead.

Re: Tiles question

2003-06-19 Thread Mykola Ostapchuk
all the objects in request disappear? - Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:47 PM Subject: Re: Tiles question Hi, The action DoFirst.java isn't putting the userList bean into the request

Re: Tiles question

2003-06-19 Thread Jason Lea
Mykola Ostapchuk wrote: I have request.setAttribute(userList, userListBean); string in execute() method. My Action class works well without tiles - it returns a bean to users.jsp and I see the users list. I'm wandering if I'm using DoFirst action forward class in a right way? Maybe because of this

Re: Tiles question

2003-06-19 Thread Mykola Ostapchuk
. - Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:26 PM Subject: Re: Tiles question Mykola Ostapchuk wrote: I have request.setAttribute(userList, userListBean); string in execute() method. My Action

Re: Tiles Question

2002-11-29 Thread Cedric Dumoulin
The answer is yes. Daniel Ritchey wrote: Can a tiles definition layout path reference a Struts action path? I need to be able to dynamically select which layout to use. Thanks in advance, Dan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Tiles Question

2002-11-27 Thread gus
Daniel Ritchey schrieb: Can a tiles definition layout path reference a Struts action path? I need to be able to dynamically select which layout to use. Your scenario seems to be similar to the TabbedLayout example. [...]\struts-tiles\layouts\tabsLayout.jsp is doing this - although with the

RE: Tiles question - menu items

2002-09-16 Thread Heligon Sandra
components ? Is it the unique solution to customize the menu for each page ? -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 16 September 2002 20:20 To: Struts Users Mailing List Subject: Re: Tiles question - menu items If you're using sub-applications, you could

RE: tiles question

2002-09-12 Thread Galbreath, Mark
1. It appears the first is a comment - an optional suggested configuration. 2. Apparently, there is a method in MessageResources that requires this declarative setting; what's the big deal? Struts is still beta, after all. -Original Message- From: Vladislav Kamensky [mailto:[EMAIL

Re: tiles question

2002-09-12 Thread Cedric Dumoulin
Vladislav Kamensky wrote: Hi. I am trying to use tiles in Struts 1.1.b and i found in the examples that tiles-defs.xml is referenced twice in application 1. web.xml !--init-param param-namedefinitions-config/param-name

Re: tiles question

2002-09-12 Thread Vladislav Kamensky
1. It appears the first is a comment - an optional suggested configuration. No. I commented it in order to test whether it makes sence. The answer from Cedric Dumoulin seems to be truth. The plugin loads the config from web.xml, and override them with the data from struts-config.xml.

Re: tiles question

2002-06-13 Thread Udo Walker
Hi, can I mix servlet-classorg.apache.struts.tiles.ActionComponentServlet/servlet-class and my own RequestProcessor with Tiles and Struts 1.1? Do I have the full functionality of Tiles while keeping the functionality of my own RequestProcessor? Or, questioned the other way round: Do I need

Re: tiles question

2002-06-13 Thread Cedric Dumoulin
You need the TilesRequestProcessor and ActionComponentServlet with Struts1.1. ActionComponentServlet takes in charge Tiles initialization. TilesRequestProcessor takes in charge Struts forward catching. You can have your own request processor extending the Tiles one, allowing

Re: tiles question

2002-06-13 Thread Udo Walker
Hi, yes this helped. If I extend TilesRequestProcessor I only have to call the super methods first and then do my stuff? Thanks, Udo Cedric Dumoulin wrote: You need the TilesRequestProcessor and ActionComponentServlet with Struts1.1. ActionComponentServlet takes in charge Tiles

Re: tiles question

2002-06-13 Thread Cedric Dumoulin
Udo Walker wrote: Hi, yes this helped. If I extend TilesRequestProcessor I only have to call the super methods first and then do my stuff? Yes. But only for methods you overload (like init(...), doInclude(...), doForward(...)). Otherwise don't care about them. Cedric Thanks,

Re: tiles question

2002-04-09 Thread Cedric Dumoulin
Yes it is ;-) Have you specify to use the appropriate Tiles processor (if struts1.1) or tiles action servlet (struts1.0.x) ? In struts1.1, add following to your struts-config file : !-- Here we specified the tiles processor -- controller

Re: tiles question

2002-04-09 Thread Ingo Bruell
Hi Struts, etco Is it possible to call a tiles layout definition from an action tag in my etco struts-config.xml file? etco Here's the tag in my struts-config.xml: etco actionpath=/resources etcoforward=site.resources.page/ etco Here's the definition in my

RE: tiles question

2002-04-09 Thread Wellie W. Chao
What version of struts are you using? I'm using 1.1 beta 1, and the forward to tiles definition feature works just fine. My action tags look just like what you specified. You may need to check and make sure you have the proper settings in web.xml. In web.xml, you should have:

RE: Tiles question: Is it possible to insert a ComponentDefinition into a Tile context dynamically?

2002-03-26 Thread Chris Cool
Mailing List Subject: Re: Tiles question: Is it possible to insert a ComponentDefinition into a Tile context dynamically? Hello, If you are in a tile controller, you don't have to create a new ComponentDefinition, you can set the attributes of the current tiles (because you

Re: Tiles question: Is it possible to insert a ComponentDefinition into a Tile context dynamically?

2002-03-26 Thread Cedric Dumoulin
to the new Tile definition. Is this possible? Thanks again, Chris -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 10:29 AM To: Struts Users Mailing List Subject: Re: Tiles question: Is it possible to insert a ComponentDefinition

Re: Tiles question: Is it possible to insert a ComponentDefinition into a Tile context dynamically?

2002-03-25 Thread Cedric Dumoulin
Hello, If you are in a tile controller, you don't have to create a new ComponentDefinition, you can set the attributes of the current tiles (because you are in the controller). To add / overload an attribute in the context, do something like : String attribute =

RE: Tiles question: Using bean:message inside tiles:put

2002-03-06 Thread Andre Beskrowni
i use this technique all the time, though i specify the type (can't remember why...): tiles:put name=title type=string bean:message key=commissions.signingBonus.title/ /tiles:put ab -Original Message- From: Molitor, Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March

Re: Tiles Question

2001-10-18 Thread Cedric Dumoulin
Hi, I have no ideas on an xml/xsl architecture using tiles. But, for dynamic portal, I have added such an example in the latest distribution (tiles/tutorial/dynPortal). This example allows to choose tiles to render in portal. You can choose in a list of available tiles, and move tiles