tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Beckes <rbec...@gmail.com>
Subject internationalization via tiles definition files
Date Fri, 16 Jul 2010 18:56:57 GMT

I'm new to struts 2, so I read the "Starting Struts 2" book by Ian Roughley
(very good intro!) and started playing around with the Struts blank

I've been able to add tiles integration to the blank application (version I'm trying to add internationalization to tiles via this
instruction set...


... by creating a tiles_es.xml file...

<?xml version="1.0" encoding="utf-8"?>
tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles
Configuration 2.0//EN"
  <definition name="/example/HelloWorld.jsp" extends="baseLayout">
    <put-attribute name="title" value="Hola a Todos" />
    <put-attribute name="body" value="/fragments/HelloWorld.jsp" />

... and calling this link ...


... but the title ("Hola a Todos") never changes, it seems that tiles is not
picking up the tiles_es.xml file. Can anyone see if I am missing something?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message