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 94185

Summary: I18N: EE4 Component's message depends on server locale, not browser preferred language
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Winston Prakash <wjprakash>
Status: NEW ---    
Severity: blocker CC: jf4jbug, kaa, kfrank, lfitzgerald
Priority: P2 Keywords: I18N
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description bugbridge 2007-02-03 00:00:16 UTC
Apparently, VWP is not populating the web.xml properly.  See bug: 6499014 for
more information.  At the very least, this needs to be documented/release noted:

Shinsuke Sugaya wrote:
> Dan Labrecque - Sun Microsystems wrote:
>> According to your note, it sounds like things are working as expected? That
is, after adding the following lines to web.xml. This is actually an i18n
requirement when using themes.
>>
>>   <context-param>
>>       <param-name>com.sun.webui.theme.SUPPORTED_LOCALES</param-name>
>>       <param-value>en,ja</param-value>
>>   </context-param>
>
> The above configuration works correctly.
>
> But, I think that this specification will confuse Lockhart's
> application team.. Moreover, Shortfin does not support it.
> So, Shortfin team or Woodstock team need to fix this issue.
>
> In my opinion, the default behavior should be changed. That is,
> if com.sun.webui.theme.SUPPORTED_LOCALES is *not* specified,
> Woodstock should use the supported locales in faces-config.xml,
> not adding only a default locale. I do not think that application
> team want to have the locale info in both faces-confg.xml and
> web.xml..
>
> Thanks,
>  shinsuke
*** (#2 of 2): 2006-12-04 10:01:22 EST xxx@xxxx

I think making this fix in Woodstock is better based on the discussion. Dongmei,
can you please follow up with Rick on this ?
Thanks
-Jayashri
Comment 1 Lark Fitzgerald 2007-04-26 03:34:29 UTC
EE5 logged internal as: http://monaco.sfbay/detail.jsp?cr=6501096 to be 
migrated external to project woodstock
Comment 2 Winston Prakash 2007-05-01 15:10:54 UTC
The work around is to use

<context-param>
   <param-name>com.sun.webui.theme.SUPPORTED_LOCALES</param-name>
   <param-value>en,ja</param-value>
</context-param>

Expecting a fix from Woodstock team to get these information from
faces-config file.

In woodstock this is an RFE (6501096), so changing this issue also an enhancement.


Comment 3 Winston Prakash 2007-05-01 15:11:35 UTC
The work around is to use

<context-param>
   <param-name>com.sun.webui.theme.SUPPORTED_LOCALES</param-name>
   <param-value>en,ja</param-value>
</context-param>

Expecting a fix from Woodstock team to get these information from
faces-config file.

In woodstock this is an RFE (6501096), so changing this issue also an enhancement.


Comment 4 Pegah Sarram 2007-05-01 20:57:37 UTC
*** Issue 93745 has been marked as a duplicate of this issue. ***