Craig and others,
I am sorry to "touch" the old question. I have a problem with this tag to display
altKey (not displayed at all).
Here is an extract from my resourse file:
image.btnEnter=/images/button_enter.gif
altkey.btnEnter=btnEnter
And this is a call from jsp:
I have tried with and with
Maya Muchnik wrote:
> 1/
> How about several files under A directory:
> B.properties
> B_en.properties
> B_de.properties
> B_fr.properties
>
> and so on...
>
> Can you see it, that you have a problem.
Yeah, it's abit of a problem. The "overridden" PropertyMessageResources
would need to be smar
1/
How about several files under A directory:
B.properties
B_en.properties
B_de.properties
B_fr.properties
and so on...
Can you see it, that you have a problem.
2/
How about a file name as extra init parameter that has names of all properties
files that you want to "combine". But this becomes a
On Wed, 21 Mar 2001, Ken Beyer wrote:
> Ken Beyer wrote:
>
> > > Anyone have a snippet of a build.xml that's does this "combining" of
> > > the properties files?
> >
>
> I appologize for beating this thread to death, but I want to mention 2
> more things.
>
> 1) I think I found another way t
Ken Beyer wrote:
> > Anyone have a snippet of a build.xml that's does this "combining" of
> > the properties files?
>
I appologize for beating this thread to death, but I want to mention 2
more things.
1) I think I found another way to merge multiple
properties files (if anyone cares :-). I cou
On Wed, 21 Mar 2001, Nick Afshartous wrote:
>
> > On Tue, 20 Mar 2001, Maya Muchnik wrote:
> > >
> > > Can I put a.gif into the property file too, and have the second statement as
> > > this:
> > >
> > > Or I can have
> > >
> > >
>
> Craig R. McClanahan writes:
> > The assumption
I am trying to use this for different "look". But my principle is simple. In one
application a.gif - is a blank,
in other - it is some picture. And so on... Change your property file to point to a
different directory for different "look". But in this approach you have one match
between application
> On Tue, 20 Mar 2001, Maya Muchnik wrote:
> >
> > Can I put a.gif into the property file too, and have the second statement as
> > this:
> >
> > Or I can have
> >
> >
Craig R. McClanahan writes:
> The assumption behind this new facility is that you need to
> internationalize your
I am not sure about several resource files. I have try to create other servlet and
"match" it to
other file, initialize this file. But then what? It will stay in the memory and do
nothing? Then
how about reload function? You need rewrite it too (run super.reload(), destroy your
local info,
init
Check out Ant 1.3. The user list said that a task has been added.
HTH,
Pete
"Craig R. McClanahan" wrote:
> On Tue, 20 Mar 2001, Ken Beyer wrote:
>
> > > Anyone have a snippet of a build.xml that's does this "combining" of
> > > the properties files?
> >
>
> Looks pretty reasonable to me.
On Tue, 20 Mar 2001, Maya Muchnik wrote:
> Craig,
>
> If b.gif is a shared resource for two resource files, is it true, that only a
>default
> resource file (without language extension) needs to have it?
>
That is technically correct. I have found, though, that this sometimes
confuses the
On Tue, 20 Mar 2001, Ken Beyer wrote:
> > Anyone have a snippet of a build.xml that's does this "combining" of
> > the properties files?
>
Looks pretty reasonable to me. It looks like a platform-inpendent
task might be a nice contribution to Ant, because this won't work under
Windows unless
> Anyone have a snippet of a build.xml that's does this "combining" of
> the properties files?
Craig/etc,
I'm not an Ant expert, but managed to do the "cat" (of my properties files)
you suggested by putting the following in my build.xml. I know it's more
Ant specific than Struts, but do you kn
"Craig R. McClanahan" wrote:
> On Tue, 20 Mar 2001, Ken Beyer wrote:
>
> >
> > I'm struggling with something very similar and could really
> > use a recommendation.
> >
> > In the Building View Components documentation about i18n,
> > (http://jakarta.apache.org/struts/userGuide/building_view.htm
Craig,
As I understand Ken, he wants to have several files and not combine them in a
application level. He wants to add one attribute for each tag, where the file
name is pointed out. Right Ken? Is it possible? From your response, it is not.
Maya
"Craig R. McClanahan" wrote:
> On Tue, 20 Mar 200
Craig,
If b.gif is a shared resource for two resource files, is it true, that only a default
resource file (without language extension) needs to have it?
Maya
"Craig R. McClanahan" wrote:
> On Tue, 20 Mar 2001, Maya Muchnik wrote:
>
> > Craig,
> >
> > Can I ask you on an example to be sure, t
I'm also seeing that it's way too much now (a message resource per jsp).
I found the following to be helpful...
http://jakarta.apache.org/struts/api/org/apache/struts/util/package-summary.html#doc.Messages
I'm thinking of at least starting off with separating the images from text,
and maybe bre
On Tue, 20 Mar 2001, Ken Beyer wrote:
>
> I'm struggling with something very similar and could really
> use a recommendation.
>
> In the Building View Components documentation about i18n,
> (http://jakarta.apache.org/struts/userGuide/building_view.html),
> it describes using a MyResources.pro
On Tue, 20 Mar 2001, Maya Muchnik wrote:
> Craig,
>
> Can I ask you on an example to be sure, that it is correct.
> My images are under images directory from root application dir. So, I can put the
> following statements:
> (in a property file :
> message.key=images
> a.image=a.gif
> a.image.d
To have a separate property file for each JSP - it is too much. All the rest - a good
idea.
I am creating my servlet that extends ActionServlet and does two things: expending
destroy and init functions. The reason - I have to initialize some paramaters that I
will use in xxxAction through applicat
I'm struggling with something very similar and could really
use a recommendation.
In the Building View Components documentation about i18n,
(http://jakarta.apache.org/struts/userGuide/building_view.html),
it describes using a MyResources.properties (default) and
other MyResources_XX.properties f
Craig,
Can I ask you on an example to be sure, that it is correct.
My images are under images directory from root application dir. So, I can put the
following statements:
(in a property file :
message.key=images
a.image=a.gif
a.image.dir=images/a.gif
)
...
...
Can I put a.gif into the propert
On Mon, 19 Mar 2001, Kyle Robinson wrote:
> I understand Struts has support for makeing web apps available in different
> languages. Does this include images? If I have images with text on them in
> English can I make images with text in French as well? Do I name the image
> files differentl
Put the path to the images in the properties files
-Original Message-
From: Kyle Robinson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 12:36 PM
To: Struts (E-mail)
Subject: Locales and images
I understand Struts has support for makeing web apps available in different
I understand Struts has support for makeing web apps available in different
languages. Does this include images? If I have images with text on them in
English can I make images with text in French as well? Do I name the image
files differently or do I have to include the paths to the images in
25 matches
Mail list logo