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 and the property file. If you want to change a "look" on-fly,
you need to have different images, for example, a_look1.gif, a_look2.gif and make a
different link depending on a "look" parameter.

Maya

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:
>  > > <html:image src="a.image"/>
>  > > Or I can have
>  > > <html:image srcKey="a.image.dir"/>
>  > >
>
> Craig R. McClanahan writes:
>  > The assumption behind this new facility is that you need to
>  > internationalize your images as well as your messages.  Perhaps, for
>  > example, you've created image buttons and the text of those buttons needs
>  > to be different depending on the user's locale.
>
> Could this new facility be based not
> only on locales ?  For example, in my company we're discussing
> how to manage different "looks" of our application by having
> different sets of images for each "look".  A facility like the
> one being dicussed could make it easy to manage this.
> --
>
>         Nick

Reply via email to