Re: Struts and Tiles

2007-05-16 Thread Antonio Petrelli
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

Re: Struts and Tiles

2007-05-15 Thread Martin Gainty
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

Re: Struts and Tiles

2007-05-15 Thread Dave Newton
--- 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. __

Re: Struts and Tiles

2004-10-12 Thread Susan Bradeen
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

Re: Struts and Tiles

2004-10-11 Thread PC Leung
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

Re: Struts and Tiles

2004-10-11 Thread Nigel Barrett
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

Re: Struts and Tiles

2004-10-11 Thread Bj
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

Re: struts and tiles seem not to like each other

2004-04-10 Thread Marc Tinnemeyer
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: > >

Re: struts and tiles seem not to like each other

2004-04-10 Thread Christian Bollmeyer
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