Re: inheritance in tiles
yes. josh wrote: Can a tile definition that extends another definition itself be extended again? definition ^ | child definition ^ | grandchild definition - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: inheritance in tiles
A stupid question : Can we pass parameters in this extension. TIA -Amar -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: Wednesday, October 06, 2004 2:25 PM To: [EMAIL PROTECTED] Subject: Re: inheritance in tiles yes. josh wrote: Can a tile definition that extends another definition itself be extended again? definition ^ | child definition ^ | grandchild definition - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: inheritance in tiles
I think you would have to define what you mean there, but yes, just as in calling a jsp you can add parameters to your call to the action class and they will be passed to the underlying jsp's. (of course assuming the underlying view is jsp based :) Al -Original Message- From: Jirole, Amar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 2:39 PM To: 'Struts Users Mailing List' Subject: RE: inheritance in tiles A stupid question : Can we pass parameters in this extension. TIA -Amar -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: Wednesday, October 06, 2004 2:25 PM To: [EMAIL PROTECTED] Subject: Re: inheritance in tiles yes. josh wrote: Can a tile definition that extends another definition itself be extended again? definition ^ | child definition ^ | grandchild definition - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: inheritance in tiles
Dear Amar: If what you mean by parameters is values of Tiles attributes, then the answer is yes. Simply define new attribute in your tiles-defs.xml or override a parent attribute. Or, should you need to derive the value dynamically from request or other scope, do it in a TilesController. Hope that helps Wiwit Tjahjana The information transmitted in this Email is for the exclusive use of the person or entity to which it is addressed and may contain confidential information. If you are not the intended recipient of this Email, you are prohibited from reading, printing, duplicating, disseminating or otherwise using this information. If you have received this information in error, please notify the sender at Freddie Mac immediately, delete this information from your computer, and destroy all copies of the information. Jirole, Amar [EMAIL PROTECTED] 10/06/2004 02:39 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To 'Struts Users Mailing List' [EMAIL PROTECTED] cc Subject RE: inheritance in tiles A stupid question : Can we pass parameters in this extension. TIA -Amar -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: Wednesday, October 06, 2004 2:25 PM To: [EMAIL PROTECTED] Subject: Re: inheritance in tiles yes. josh wrote: Can a tile definition that extends another definition itself be extended again? definition ^ | child definition ^ | grandchild definition - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]