I have the following tiles definition, is there
a tile tag that I can use to get the page title from
the application resources file? I'm having to
define a bean with the
string that contains the
page title from the application resources, and use
the tile
ut tag. It would be nice if the put
tag supported getting strings out of the application
resourceses files.
Is there a better workaround than this:
<bean
efine id="pageTitleBean">
<bean:message key="somePage.title"/>
</bean
efine>
<tiles:insert page="/layout.jsp" flush="true">
<tiles
ut name="header" value="/header.jsp"/>
<tiles
ut name="nav" value="/nav.jsp"/>
<tiles
ut name="content" value="/content.jsp"/>
<tiles
ut name="footer" value="/footer.jsp"/>
<tiles
ut name="page.title" beanName="pageTitleBean"/>
</tiles:insert>