About Question enthuware.ocpjad.v7.2.48 :

Post Reply
ksamso
Posts: 3
Joined: Fri Sep 20, 2024 7:34 am
Contact:

About Question enthuware.ocpjad.v7.2.48 :

Post by ksamso »

In the <f:view> tag of the Facelet page you cannot configure the different supported locales, just indicate to use the default one, is that so?

EricThomas
Posts: 1
Joined: Wed Oct 02, 2024 9:45 pm
Contact:

Re: About Question enthuware.ocpjad.v7.2.48 :

Post by EricThomas »

Yes, thatgeometry dash meltdown's correct. The <f:view> tag in a facelet page cannot configure supported locales; it only uses the current or default locale. To set supported locales, you need to define them in the faces-config.xml file, like this:
<application>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>es</supported-locale>
</locale-config>
</application>
The <f:view> can use the default or current locale but doesn't configure them directly.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest