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 - I18N - labels of component not updated at runtime if value is specified as i18n value from bundle
Summary: I18N - labels of component not updated at runtime if value is specified as i...
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Gregory Murphy
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-02-02 20:10 UTC by bugbridge
Modified: 2007-05-29 15:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.