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 94068

Summary: I18N - labels of component not updated at runtime if value is specified as i18n value from bundle
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Gregory Murphy <gjmurphy>
Status: RESOLVED WONTFIX    
Severity: blocker CC: kaa, kfrank, sunlit
Priority: P2 Keywords: I18N
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2007-02-02 20:10:31 UTC
Description:
Based on Alexander and my recent interaction with customer -

labels of components are not updated at runtime if the value is
specified as i18n value from a resource bundle.

testcase:
- create an app with a resource bundle (<f:loadBundle
basename="mybundle" var="messages"/>). the resource bundle should
contain the key "mykey"
- create a page
- add a text field to the page. specify the label of the text field as
"#{messages.mykey}"
- add a static text to the page. specify the text of the field as
"#{messages.mykey}"
- add the ability to change the language of the app (as described in
various tutorials, for example at
http://bookshelf.sfbay/jets/Rave/Tutorials/tutorials/13_internationalizatio
n/demonstrating_i18n.html

now the test:
- start the app. the label for the text field and the static text should
display the same value
- change the language of the app with the dropdown
-> result: the text in the static text changes, but the label of the
text field does not (but it should IMHO)
Comment 1 Lark Fitzgerald 2007-04-26 03:21:47 UTC
Closing. Issue migrated to project woodstock:
https://woodstock.dev.java.net/issues/show_bug.cgi?id=166
Please add yourself to the CC list and use this issue for future tracking.