Actually, that is a question that I brought up to the EG months ago
(it might even have been half a year), following a request of Bernd.
But no discussion ever picked up on this.

I was - like Bernd and you - also concerned about breaking the normal
rule, plus creating scarce directory trees.

regards,

Martin

On 10/20/09, Matthias Wessendorf <[email protected]> wrote:
> Hi,
>
> I am reading SPEC 2.6.1.3 and I am not sure on the localePrefix...
>
> Imagine I am using a "library" in the $WEB_ROOT/resources
> so the USA, the resourceIdentifier would be like:
> en_US/mycorp/cool.gif
>
> and for Germany, it would be:
> de_DE/mycorp/cool.gif
>
> I wonder why it was done this way ?
>
> For the properties files, they syntax is following this schema:
>
> Messages_en_US.properties
> Messages_de_DE.properties
>
> Perhaps I am not really understanding the benefit of the JSF 2.0
> resource handling, but
> why shouldn't a "library" contain multiple images (etc), like:
>
> /mycorp/cool_de_DE.gif
> /mycorp/cool_en_US.gif
>
> -Matthias
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to