If you don't want to point the result to a tile, or you don't want to use type="tiles", you could also deploy Tiles-2 as a stand-alone service, without the S2-T2 plugin. I do this, and it works more easily than the plugin, and removes the dependency on the plugin. The fewer intermediate layers between your app and a service it uses, the fewer bugs you will encounter. And those bugs you do encounter will clearly be in the service, not in the intermediate layer. This is especially good to remember if the intermediate layers do not provide any added value. - Ray Clough
> ----- Original Message ----- > From: "Chris Pratt" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <user@struts.apache.org> > Subject: Re: Struts2 Tiles question > Date: Thu, 23 Aug 2007 10:58:13 -0700 > > > Yes, but then you wouldn't use type="tiles" > (*Chris*) > > On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Yeah I think thats what I was looking for, um but actually I was wondering > > in struts.xml I say: > > > > <action name="presentEntryLogin" class=" > > com.xfact.struts2login.actions.LoginLogoutDispatchAction" > > method="presentEntryLogin"> > > <result name="input" type="tiles">swiss.not_authenticated > > </result> > > </action> > > > > Can I instead of pointing to a definition point to actual jsp? And this jsp > > will have like more tile:insertAttribute and yea? Could I do that? > > > > On 8/23/07, Jiang, Jane (NIH/NCI) [C] <[EMAIL PROTECTED]> wrote: > > > > > > I don't think you need tile-config.xml. You can just add your tiles > > > definition to tiles.xml in WEB-INF. > > > > > > -----Original Message----- > > > From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, August 22, 2007 3:09 PM > > > To: user@struts.apache.org > > > Subject: Struts2 Tiles question > > > > > > Hi everybody. I have a question. I included all necessary things in > > > order to > > > take advantage of tiles in Struts2. I included listened in web.xml I > > > included result type in struts.xml so now I know that I need > > > tiles-config.xml in my WEB-INF right. Well how does tile-config.xml look > > > like. Could anyone give an example please thank you. > > > > > > -- > > > Pavel Sapozhnikov > > > xFact, Inc > > > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Pavel Sapozhnikov > > xFact, Inc > > [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - Ray Clough [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]