Re: Struts2 Tiles question

2007-08-24 Thread Pavel Sapozhnikov
. > > I'll put together a document at work tomorrow. My app uses Struts-1, > Struts-2, and JSF, all using Tiles to render the view. > > - Ray Clough > > - Original Message - > From: "Pavel Sapozhnikov" > To: "Struts Users Mailing Lis

Re: Struts2 Tiles question

2007-08-23 Thread Ray Clough
el Sapozhnikov" To: "Struts Users Mailing List" Subject: Re: Struts2 Tiles question Date: Thu, 23 Aug 2007 20:12:59 -0400 Ray thank you so much. So what steps should I take in order to do that. Could you help? Basically I remove the jar right I probably have to do

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
layers do not provide any added value. > - Ray Clough > > > > - Original Message - > > From: "Chris Pratt" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > Subject: Re: Struts2 Tiles question > > Date: Thu, 23 Aug

Re: Struts2 Tiles question

2007-08-23 Thread Ray Clough
alue. - Ray Clough > - Original Message - > From: "Chris Pratt" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Subject: Re: Struts2 Tiles question > Date: Thu, 23 Aug 2007 10:58:13 -0700 > > > Yes, but then you wouldn't use type=

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
And then import the jsp right? So how would I tell the tile jsp to use a certain definition? On 8/23/07, Chris Pratt <[EMAIL PROTECTED]> wrote: > > > 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? >

Re: Struts2 Tiles question

2007-08-23 Thread Chris Pratt
> And then import the jsp right? So how would I tell the tile jsp to use a > certain definition? The normal way to integrate the two is to use the type="tiles" result type, and have your result reference a definition that points to the layout that it needs. It's also possible to point to a .jsp p

Re: Struts2 Tiles question

2007-08-23 Thread Chris Pratt
> 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? >Great and how do I tell the tile jsp to use the specified definition? Also definitions can only be in tiles.xml right? You can put the definition righ

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
Sorry tell* haha On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Great and how do I tile the tile jsp to use the specified definition? Also > definitions can only be in tiles.xml right? > > On 8/23/07, Chris Pratt < [EMAIL PROTECTED]> wrote: > > > > Yes, but then you wouldn't use type

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
Great and how do I tile the tile jsp to use the specified definition? Also definitions can only be in tiles.xml right? On 8/23/07, Chris Pratt <[EMAIL PROTECTED]> wrote: > > Yes, but then you wouldn't use type="tiles" > (*Chris*) > > On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Y

Re: Struts2 Tiles question

2007-08-23 Thread Chris Pratt
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: > > method="presentEntryLogin"> > swiss.not_authenticated > >

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
Yeah I think thats what I was looking for, um but actually I was wondering in struts.xml I say: swiss.not_authenticated 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

RE: Struts2 Tiles question

2007-08-23 Thread Jiang, Jane (NIH/NCI) [C]
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.

RE: Struts2 Tiles question

2007-08-23 Thread Dinwiddie, George
Is http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main /webapp/WEB-INF/tiles.xml?view=markup (http://tinyurl.com/2p4adw) what you're looking for? George Dinwiddie, iDIA Computing, LLC http://iDIAcomputing.com/ http://blog.gdinwiddie.com/ -Original Message- From: