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
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,
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
/
/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
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
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,
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
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
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
, 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
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.
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
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
.
- 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
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:
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
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
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
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
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.
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
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
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
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,
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
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
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:
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
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
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 =
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
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
32 matches
Mail list logo