2007/5/16, David Miller <[EMAIL PROTECTED]>:
I'd like to be able to insert *portions* of another page using tiles.
I think that Sitemesh would be better for this task.
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
t; <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 15, 2007 7:42 PM
Subject: Re: Struts and Tiles
--- David Miller <[EMAIL PROTECTED]> wrote:
I'd like to be able to insert *portions* of another
page using tiles.
I don't know how you would be
--- David Miller <[EMAIL PROTECTED]> wrote:
> I'd like to be able to insert *portions* of another
> page using tiles.
I don't know how you would be able to do that.
Why wouldn't you create the "portion" as a separate
page and insert that tile into both pages?
d.
__
On Tue, 12 Oct 2004 11:59:10 +0800, PC Leung <[EMAIL PROTECTED]> wrote:
> How can I incorporate the tiles definition into struts-config.xml?
> or How to define selectBodyTile.do in struts-config.xml?
>
> controller="/selectBodyTile.do"/>
>
> type="com.security.user.LoginActio
How can I incorporate the tiles definition into struts-config.xml?
or How to define selectBodyTile.do in struts-config.xml?
On Mon, 11 Oct 2004 17:49:55 +0100, Nigel Barrett
<[EMAIL PROTECTED]> wrote:
> You can also use a controller class/action to do it
>
> c
You can also use a controller class/action to do it
and then in the action class for /selectBodyTile.do you can access the
ComponentContext which will allow you to change the attributes before tiles
does the insert thus allowing you to programmatically set the inner tile to
be a JSP,another tile
you can use java to do this. For exemple, if you pass the boby url in
request parameter.
<%
String contentUrl = request.getParameter("contentUrl");
if (contentUrl == null ) contentUrl = "/defaultContentUrl.jsp"
%>
I hope there's a better way to do this (maybe through ex
Thanks a lot for your jit response,
now struts and tiles talk to each other :-)
Nochmals besten Dank ! und natuerlich schoene Feiertage.
Gruss,
Marc
On Sat, 10 Apr 2004 18:58:56 +0200
Christian Bollmeyer <[EMAIL PROTECTED]> wrote:
> On Saturday 10 April 2004 18:36, Marc Tinnemeyer wrote:
>
>
On Saturday 10 April 2004 18:36, Marc Tinnemeyer wrote:
Hi,
didn't check if your overall configuration is correct, but
the first thing I'd suggest is moving the
part to a normal ForwardAction like this
and refer to that in your index.jsp:
This should work. I never researched why Struts gl
9 matches
Mail list logo