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. __

Struts and Tiles

2007-05-15 Thread David Miller
Greetings, I'm using tiles for the first time and am a little confused about what I should be able to do. I'd like to be able to insert *portions* of another page using tiles. For example, in the middle of a gigantic jsp I want to insert a small chunk of code that exists in a different jsp - a

Re: Interaction between Struts and Tiles - redirect doesn't?

2006-02-27 Thread Mark Lowe
IL PROTECTED]> > > Feb 26, 2006 07:59 PM > Please respond to > "Struts Users Mailing List" > > > To > user@struts.apache.org > > > cc > > > > Subject > Re: Interaction between Struts and Tiles - redirect doesn't? > >

Re: Interaction between Struts and Tiles - redirect doesn't?

2006-02-26 Thread Bruce Link
lt;[EMAIL PROTECTED]> Feb 26, 2006 07:59 PM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject Re: Interaction between Struts and Tiles - redirect doesn't? That seems kinda redundant to me ;-

Re: Interaction between Struts and Tiles - redirect doesn't?

2006-02-26 Thread Laurie Harper
That seems kinda redundant to me ;-) Just use the ForwardAction that comes with Struts: I think you can also do something like this, Not sure about that, though. L. Mark Lowe wrote: For some reason a simple forwarding action needs to go through an action class. Something like publi

Re: Interaction between Struts and Tiles - redirect doesn't?

2006-02-26 Thread Mark Lowe
For some reason a simple forwarding action needs to go through an action class. Something like public class BlankAction extends Action { public ActionForward execute(..) throws Exception { return mapping.findForward("success"); } } Should work just fine. Mark On 2/26/06, Bruce Lin

Interaction between Struts and Tiles - redirect doesn't?

2006-02-25 Thread Bruce Link
I am trying to put together an example j2ee web site using struts/tiles as the front end, using struts 1.2.8. I have been trying to guess and experiment to find out how to merge the two, since most examples just use jsp pages for the view layer, and I am trying to use tiles throughout. What m

Are Tiles in Struts and Tiles in JSF the same?

2005-12-14 Thread Simonin, Bradley K (Brad)
I am gathering that Tiles are Tiles right? Tiles in Struts are the same as Tiles in JSF? --Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Of Struts and Tiles and Portals

2005-03-11 Thread Matt Raible
o display information about our operation. Different people will be allowed to see or will choose different things, based on what they do within the organization. So I asked Google about Struts and Tiles and Portal, and, well, didn't find much. Is Cedric's page dated 2002 still cu

Re: Of Struts and Tiles and Portals

2005-03-11 Thread NetSQL
good luck, .V Wendy Smoak wrote: My next project looks like it will be a portal-type app to display information about our operation. Different people will be allowed to see or will choose different things, based on what they do within the organization. So I asked Google about Struts and Tile

Re: Of Struts and Tiles and Portals

2005-03-11 Thread Ted Husted
CTED]> wrote: > My next project looks like it will be a portal-type app to display > information about our operation. Different people will be allowed to see or > will choose different things, based on what they do within the organization. > > So I asked Google about Struts and

Of Struts and Tiles and Portals

2005-03-10 Thread Wendy Smoak
My next project looks like it will be a portal-type app to display information about our operation. Different people will be allowed to see or will choose different things, based on what they do within the organization. So I asked Google about Struts and Tiles and Portal, and, well, didn't

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

Struts and Tiles

2004-10-11 Thread PC Leung
I am very new Tiles. I just want the content layout to change and keep header, footer and left menu unchanged. Is it right to change the value programmatically and how? or do it in another way? Thank you very much. - To un

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 Tinneme

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

struts and tiles seem not to like each other

2004-04-10 Thread Marc Tinnemeyer
Hi, After diving into the world of struts I decided also to include tiles in my app. But there seems to be something that keeps me from doing this. Here are the steps I have taken so far: checked struts-config.xml for tiles-stuff (as I copied that file from struts-blank everything was already the

RES: [work] Re: tomcat 5 with struts and tiles

2004-04-08 Thread Paulo Alvim
original- De: Daniel L. Rall [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 8 de abril de 2004 03:37 Para: Paulo Alvim Cc: [EMAIL PROTECTED] Assunto: [work] Re: tomcat 5 with struts and tiles Paulo Alvim wrote: > Hi! > > I'm Paulo Alvim from Powerlogic - Brazil. > > I