Senji,

Thx. I have tried with definition instead of beanName and it worked. (I needed to do some small changes but it just took me a minute and it worked.) Thx. Now the strange thing is that in my book (O'Reilly) they never spoke about using definition inside the jsp. So I was wondering did this change someday by one of the versions?


For those who guessed name. I tried too (without changing my code) but it didn't work. It can be however that the code works.

The code in my book includes the definition file and uses the beanName and beanScope attributes.Now since I used definition can I set the scope too? And will it be definitionScope or beanScope?

Regards,

----- Original Message ----- From: "Kishore Senji" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, October 20, 2005 7:35 AM
Subject: Re: struts1.2.7 and tiles definitions


<tiles:insert beanName="tests.test" flush="true"/>


Try "definition" instead of "beanName" as in
<tiles:insert definition="tests.test" flush="true"/>



--------------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/142 - Release Date: 18/10/2005



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/142 - Release Date: 18/10/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to