You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/04/24 15:30:30 UTC

[jira] Closed: (TILES-145) Struts message-resources should be integrated into Tiles??

     [ https://issues.apache.org/struts/browse/TILES-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli closed TILES-145.
----------------------------------


> Struts message-resources should be integrated into Tiles??
> ----------------------------------------------------------
>
>                 Key: TILES-145
>                 URL: https://issues.apache.org/struts/browse/TILES-145
>             Project: Tiles
>          Issue Type: Improvement
>            Reporter: sherry
>
> Now I am using Tiles Inheritance between definitions.
> ============================================
> <?XML version="1.0" encoding="ISO-8859-1"?>
> <component-definitions>
>     <definition name="baseDef" path="/layout.jsp">
>         <put name="header" value="/header.jsp"/>
>         <put name="footer" value="/footer.jsp"/>
>         <put name="body" value=""/>
>     </definition>
>     <definition name="aDef" extends="baseDef">
>         <put name="body" value="/aBody.jsp"/>
>     </definition>
>     <definition name="bDef" extends="baseDef">
>         <put name="body" value="/bBody.jsp"/>
>     </definition>
>     <definition name="cDef" extends="baseDef">
>         <put name="body" value="/cBody.jsp"/>
>     </definition>
> </component-definitions>
> ======================================
> I won't want to insert nodes like "<tiles:insert/>" in my jsp files. But in my "layout.jsp", there is a line of code "<tiles:getAsString name="title"/>" which indicates the titles of different pages  and whose value comes from my Application.properties. 
> So, I wonder if you find a way to set my title in the Tiles-def.xml according to Application.properties.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.