Thanks for your response, David. And please see below.

"David G. Friedman" <[EMAIL PROTECTED]> wrote:

> 
> A few things come to mind with your below included
> details:
> 
> 1: Where are the "taglib" statements in your
> main.jsp template?

The taglib statement is there as the following:

<%@ taglib prefix="tiles"
uri="http://jakarta.apache.org/struts/tags-tiles"; %>

Absenting of the statement will lead to miss all
insertions. In this case, only inserted text is
missing.

> 
> 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.
> 

I don't follow above. The inheritance is the
following:

water <- landscape <- template

Nothing, including the "title", is overriden.

> -----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]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

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

Reply via email to