I have this definition:
<definition name="test.tilesDef" path="/layoutTest.jsp" >
<put name="top" value="/testTiles/Test1.do?method=initialize" />
<put name="center" value="/
testTiles/Test2.do?method=initialize" />
</definition>
The form bean inicialize worked. Is it the correct way?
-----Mensaje original-----
De: Adam Hardy [mailto:[EMAIL PROTECTED]
Enviado el: domingo, 22 de febrero de 2004 8:05
Para: Struts Users Mailing List
Asunto: Re: Tile, Action and Form
On 02/21/2004 02:07 PM Esteban Forzani wrote:
> Hi, using Tiles and Struts I would like to know if is it possible have
> two tiles in the same page with two action and formbean.
> The tile1 asociatted with action1 and form1 and the tile2
asociatted
> with action2 and form2.
>
> How I can inicialize the formbean�s attributte?.
You associate a tiles definition with a struts action. You can only have
one definition per action.
However you can reuse the tiles definition as many times as you like in
as many different actions as you want.
If you try to mix tiles with different form bean requirements in the
same definition, then only one of them will succeed, because the
originating action obviously provides only one form bean.
Adam
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/04
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/04
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]