This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 98903 - I18N - Creator doesn't generate locale-config in faces-config.xml
Summary: I18N - Creator doesn't generate locale-config in faces-config.xml
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Craig Mcclanahan
Keywords: I18N
Depends on:
Reported: 2007-03-26 01:58 UTC by bugbridge
Modified: 2007-03-27 18:56 UTC (History)
0 users

See Also:
Exception Reporter:


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