Bug 98903 - I18N - Creator doesn't generate locale-config in faces-config.xml
I18N - Creator doesn't generate locale-config in faces-config.xml
Status: NEW
Product: obsolete
Classification: Unclassified
Component: visualweb
PC Windows XP
: P2 (vote)
Assigned To: Craig Mcclanahan
: I18N
Depends on:
  Show dependency treegraph
Reported: 2007-03-26 01:58 UTC by bugbridge
Modified: 2007-03-27 18:56 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-03-26 01:58:53 UTC
Original status: 3-Accepted; Suggested Status: NEW

Original Target Release: thresher_dev; Suggested Target Milestone : TBD

I tried changing the locale but Creator doesn't seem to generate supported
locale information in the faces-config.xml it creates.

I would expect to see something like this


No locale-config was generated at all.

xxx@xxxx 2004-07-05
xxx@xxxx 2004-07-30

The <locale-config> element serves two primary purposes:

* Advisory - providing information that can be used, for example,
  to compose the select items for a "select language" dropdown,
  based only on the locales actually supported by a particular
  web application.

* Pick the assumed locale for a non-Faces request (such as for
  the welcome page, when there was no previous Faces page from
  which to copy a selected locale.  If there is no <locale-config>
  information available, this defaults to the default locale
  of the app server.

For Thresher, we should provide GUI to support building up a <locale-config>
element, and storing it in another config file (perhaps
/WEB-INF/locale-config.xml) so that it can be managed separately.  This change
should be in conjunction with other improvments in the localizability of a
Creator-created app, including:
* Ability to easily bind to message resource values via <f:loadBundle>.
* Ability to dynamically add key/value pairs to a resource bundle,
  from the page designer (and bind to the new pair at the same time)

xxx@xxxx 2004-11-16 06:35:54 GMT

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo