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

Antonio Petrelli resolved TILES-145.
------------------------------------

    Resolution: Not A Problem

Don't use JIRA to ask questions.
This JIRA project refers to Tiles 2, but you seem to be using Struts 1 + Tiles 
1, so probably you have to ask this kind of questions to the Struts Users 
mailing lists:
http://struts.apache.org/mail.html

Best regards.

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

Reply via email to