• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Struts Tiles and Internationalization

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"/>
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic