How to get a value of an ApplicationResource's entity from java code
(not from JSP by a tag)? I guess a function for such an action should
acceps locale parameter also. Btw, resource files are being loaded only
once for the whole application (per locale, of course) or for every user
session?
--
I'm sorry that yesterday I sent a bit confusing question. Todya I reask it in more
precise form:-)
Is there any way to store image related info into a property file and hardcode not an
image location but its alias from this file? I think smth. should exist for this
purpose.
--
To
being there is nothing in Struts like this?
-Original Message-
From: Elizabeth Barham [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:13
To: Roman Rytov
Subject: Re: i18n and images?
[ Not on the struts-user mailing list because this message does not
directly relate to struts
I agree that this is a solution. But don't forget I need to store also tips (alt's
attribute values) for every image hence I need a second file. Two drawbacks arose:
synchronization between files is up to me and the code becomes ugly:
img src=images/bean:message key='sampleImage'/
struts html:img tag covers
this already with the altKey attribute and the srcKey or pageKey attribute.
-Original Message-
From: Roman Rytov [mailto:[EMAIL PROTECTED]]
Sent: 10 June 2002 09:56
To: Struts Users Mailing List
Subject: RE: i18n and images?
I agree
Is there a way to map image's url and alt text into a resource file (like messages)?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
6 matches
Mail list logo