Does the pages you're including have the struts tlds defined? If not,
they should.

Nils-H

On Thu, Mar 19, 2009 at 6:33 PM, Kra, Aime yao (TEK System)
<ak...@allstate.com> wrote:
> Here are the tiles definitions
>
> ----------- tiles-def.xml------------------------------
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles 
> Configuration 2.0//EN" 
> "http://jakarta.apache.org/struts/dtds/tiles-config_2_0.dtd";>
> <tiles-definitions>
>        <definition name="baseLayout" template="/WEB-INF/pages/tiles/base.jsp">
>                <put-attribute name="header" 
> value="/WEB-INF/pages/tiles/header.jsp" />
>                <put-attribute name="infouser" 
> value="/WEB-INF/pages/tiles/InfoUser.jsp" />
>                <put-attribute name="headcorner" 
> value="/WEB-INF/pages/tiles/headcorner.jsp" />
>                <put-attribute name="menu"   
> value="/WEB-INF/pages/tiles/menu.jsp" />
>                <put-attribute name="body"  
> value="/WEB-INF/pages/tiles/body.jsp" />
>                <put-attribute name="footcorner" 
> value="/WEB-INF/pages/tiles/footcorner.jsp" />
>                <put-attribute name="footer" 
> value="/WEB-INF/pages/tiles/footer.jsp" />
>        </definition>
>        <definition name="HomePage" extends="baseLayout">
>                        </definition>
>        <definition name="RegisterPage" extends="baseLayout">
>                <put-attribute name="body" 
> value="/WEB-INF/pages/register/registerBody.jsp" />
>        </definition>
>        <definition name="ErrorPage" extends="baseLayout">
>                <put-attribute name="body" 
> value="/WEB-INF/pages/tiles/Error.jsp" />
>        </definition>
> </tiles-definitions>
> ------------------------------------------------------------
>
>
>
> Aimé Kra
>
>
> -----Original Message-----
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Sent: Thursday, March 19, 2009 1:10 PM
> To: Struts Users Mailing List
> Subject: RE: Struts 2 tags not translated to html when using tiles
>
>
> the tlds
> ?
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
> sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
> oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich 
> dem Austausch von Informationen und entfaltet keine rechtliche 
> Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen 
> wir keine Haftung fuer den Inhalt uebernehmen.
> This message is confidential and may be privileged. If you are not the 
> intended recipient, we kindly ask you to  please inform the sender. Any 
> unauthorised dissemination or copying hereof is prohibited. This message 
> serves for information purposes only and shall not have any legally binding 
> effect. Given that e-mails can easily be subject to manipulation, we can not 
> accept any liability for the content provided.
>
>
>
>
>
>
>> Subject: RE: Struts 2 tags not translated to html when using tiles
>> Date: Thu, 19 Mar 2009 11:22:54 -0500
>> From: ak...@allstate.com
>> To: user@struts.apache.org
>>
>> Below is the jsp
>>
>> ----------------------------------snip -------------------------
>> <%@ page contentType="text/html; charset=UTF-8"%>
>> <%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles"%>
>> <%@ taglib prefix="s" uri="/struts-tags"%>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html>
>> <!-- saved from url=(0014)about:internet -->
>> <!-- this and above comment should be removed for live, non-demo use -->
>> <head>
>> <title>Claims Home</title>
>> <s:head />
>> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
>> <meta http-equiv="Content-Style-Type" content="text/css">
>> <link rel="stylesheet" href="../css/common.css" type="text/css">
>> <link rel="stylesheet" href="../css/claims.css" type="text/css">
>> </head>
>> <body>
>> <script language="JavaScript" src="../theme/navbar.js"></script>
>> <table width="780" border="0" cellpadding="0" cellspacing="0">
>>       <tbody>
>>               <tr>
>>                       <td valign="top"><tiles:insertAttribute name="header" 
>> /></td>
>>               </tr>
>>               <tr>
>>                       <td align="right"><tiles:insertAttribute 
>> name="infouser" /></td>
>>               </tr>
>>               <tr>
>>                       <td valign="top" height="20"></td>
>>               </tr>
>>               <tr>
>>                       <td colspan="2" class="memubar"><tiles:insertAttribute
>>                               name="menu" /></td>
>>               </tr>
>>               <tr>
>>                       <td height="10"></td>
>>               </tr>
>>               <tr>
>>                       <td valign="top" height="450"><tiles:insertAttribute 
>> name="body" />
>>                       </td>
>>               </tr>
>>
>>               <tr>
>>                       <td valign="top"><tiles:insertAttribute name="footer" 
>> /></td>
>>               </tr>
>>       </tbody>
>> </table>
>> </body>
>> </html>
>> ------------------------------ snip ------------------------------------
>>
>>
>> Aimé Kra
>>
>> -----Original Message-----
>> From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com]
>> Sent: Thursday, March 19, 2009 12:19 PM
>> To: Struts Users Mailing List
>> Subject: Re: Struts 2 tags not translated to html when using tiles
>>
>> What does the JSP look like? Does it include the taglib definition?
>>
>> Nils-H
>>
>> On Thu, Mar 19, 2009 at 5:14 PM, Kra, Aime yao (TEK System)
>> <ak...@allstate.com> wrote:
>> > Struts 2 tags are not translate into HTML when I add tile to my 
>> > application.
>> > When I use View source of my browser, I still can see the struts 2 tags in 
>> > the page so it is not correctly rendered.
>> > Without tiles the application is working fine.
>> >
>> > Below is what I see in the page source.
>> > ----------------------- snip -------------------------
>> > <tr>
>> >                                                <td align="right" 
>> > width="181"><span class="textboldblue">First
>> >                                                Name</span></td>
>> >
>> >                                                <td 
>> > width="330"><s:textfield name="firstName" required="true"
>> >                                                        size="20" 
>> > maxlength="75" /><span class="asterisk">*</span></td>
>> >                                        </tr>
>> >                                        <tr>
>> >                                                <td align="right" 
>> > width="181"><span class="textboldblue">Last
>> >                                                Name</span></td>
>> >
>> >                                                <td 
>> > width="330"><s:textfield name="lastName" required="true"
>> >                                                        size="20" 
>> > maxlength="75" /><span class="asterisk">*</span></td>
>> >                                        </tr>
>> >
>> > ------------------------------------------- snip 
>> > -----------------------------------------------------------------------------------------------------
>> >
>> > Any idea?
>> >
>> > Thanks
>> >
>> > Aimé Kra
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>
> _________________________________________________________________
> Hotmail® is up to 70% faster. Now good news travels really fast.
> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to