struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Joseph" <thom...@uaeexchange.co.in>
Subject Re: struts1.2.7 and tiles definitions
Date Thu, 20 Oct 2005 06:04:13 GMT
+1
Try <tiles:insert name="tests.test" ... />
        OR <tiles:insert attribute="tests.test" />

Cheers,
Thomas Joseph
thomasj@uaeexchange.co.in

From: "Wendy Smoak" <java@wendysmoak.com>


> From: "Simons Kevin" <fb057283@skynet.be>
>
> > I have used tiles and struts1.2.7 without definitions. The test worked.
> > Now I wanted to test struts and tiles with definitions.
> > This is the tiles-defs.xml file (stored in my web-app web-inf folder)
> > <tiles-definitions>
> > <definition name="tests.test" path="/tests/x.jsp"/>
> > </tiles-definitions>
> >
> > <tiles:insert beanName="tests.test" flush="true"/>
>
> I'm think you want 'name' not 'beanName'.  Try this:
>
>    <tiles:insert name="tests.test" ... />
>
>
http://struts.apache.org/struts-tiles/tagreference-struts-tiles.html#insert
>
> --
> Wendy Smoak



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message