Vernon A few things come to mind with your below included details:
1: Where are the "taglib" statements in your main.jsp template? 2: To use "title" when you "extend" a master template, I'm pretty sure you MUST have a "title" component listed in your master template too because you are orverriding it in your "landscape" or "water" templates. Regards, David -----Original Message----- From: Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 2:02 PM To: user@struts.apache.org Subject: [Tiles] Why the text does'nt show In a project, I have the Tiles integrated with Spring. The inserted JSP files show up properly, but not text. I can't find the cause. Here is a segment of the template file <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="css/layout.css" /> <style type="text/css"> @import "css/text.css"; </style> <title><tiles:insert name="title"/></title> </head> <body> ... In the definition file: <!-- DEFAULT MAIN TEMPLATE --> <definition name="template" page="/WEB-INF/jsp/template/main.jsp"> </definition> <definition name="landscape" extends="template"> <put name="title" value="Landscape"/> <put name="category" value="LANDSCAPE"/> <put name="category_menu" value="/WEB-INF/jsp/mountains/category.jsp" type="page"/> </definition> <definition name="water" extends="landscape"> <put name="sub_category_menu" value="/WEB-INF/jsp/water/sub_category.jsp" type="page"/> </definition> What is missing here? Thanks __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- 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]