I just do: <tiles:put name="page.title" type="string"> <fmt:message key="some.properties.key"/> </tiles:put>
Paul > -----Original Message----- > From: Chris Searle [mailto:[EMAIL PROTECTED] > Sent: Monday, April 19, 2004 4:29 PM > To: [EMAIL PROTECTED] > Subject: Internationalization of an existing struts/tiles project > > > > I've got an existing struts/tiles project which needs making locale > aware. This is going well (due to the framework support for it) and is > mostly complete but there is one thing I can't decide on how best to > do. > > For each tile definition the page title has been set with via tiles > (in the tiles-defs.xml) with a: > > <put name="page.title" value="text value of the title" /> > > and this is overwritten in all descendent tile definitions. > > Then in the jsp we have > > <tiles:getAsString name="page.title"/> > > I see that it is possible to have separate tiles-defs.xml per language > - but - the only difference will be the page.title settings - is it > not possible to get to the values in the language dependent > .properties files from within a single tiles-defs.xml file? > > Given the starting situation - what is the best way to > internationalize these titles? > > Regards > > -- > Chris Searle > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ********************************************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]