Reinhard>> I use the template definitions to pass page specific attributes - the most common are the page's name to make a common index.jsp highlight the menu item the user is currently viewing. I also pass some crumb info, page title, page key words, and the definition name (used to debug, performance monitoring, and caching). Using useAttribute tag all of these can be used on the template page or subordinate page.
1. I have always used insert because of defining pages in the xml file and it is very flexible. Get was originally for the tiles definition used with the in jsp insert and put tags. Insert should meet your needs for flexibility. 2. No it was just moved into struts as part of the base package. A good document is the advanced manual - you will still need to hack around. I have posted a war on my personal site demonstrating crumbs (under the weblog menu) - but I also employ a variety of these techniques. At work we have built several applications on top of struts - it is a good framework for creating and maintaining complex sites. I am not a developer so my understanding of JSF may be off mark but it is a way to render controls and jsp elements - I do not think it will replace tiles. Craig has posted a number of comments on JSF and the integration with Struts. Cal http://www.calandva.com/ Last update 08/01/03 -----Original Message----- From: Reinhard [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 03:27 To: [EMAIL PROTECTED] Subject: RE: accessing Attribute of a parent-tile-definition Thanks Cal for your reply. Your answer showed me my design errors. I thought, with a base tile it would be nice and easy, provide page-related vars. But - welcome to reality ;-) I think I'll better use a jsp:include on that item ... I've some more questions on tiles: 1. I didn't use tiles:insert at all. Within the main.jsp I use tiles:get (cause the target may be a tile, a jsp or a simple text). Should I prefer tiles:insert? - Why? 2. Is tiles considered a deprecated technique? - Cause the page from the tiles creator is very out-dated and the documentation is pretty hidden/nested. Should we go for java:faces? Any answer is welcome and appreciated. cheers Reinhard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Learn more about Paymentech's payment processing services at www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]