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:
> > 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.xmllook
> > > 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]
>
>


-- 
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]

Reply via email to