Getting application resource from java source

2002-11-18 Thread Roman Rytov
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? --

i18n and images?

2002-06-10 Thread Roman Rytov
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

RE: i18n and images?

2002-06-10 Thread Roman Rytov
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

RE: i18n and images?

2002-06-10 Thread Roman Rytov
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'/

RE: i18n and images?

2002-06-10 Thread Roman Rytov
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

RE: Struts PowerPoint presentation

2002-06-09 Thread Roman Rytov
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]