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.