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 144483 - [65cat] Missing support for binding ResourceBundle keys to output components
Summary: [65cat] Missing support for binding ResourceBundle keys to output components
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Peter Zavadsky
Depends on:
Reported: 2008-08-19 22:28 UTC by big_al
Modified: 2008-08-19 22:29 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 big_al 2008-08-19 22:28:00 UTC
[ JDK VERSION : 1.6.0_07 ]

It does not seem to be possible to bind the key of a resource bundle
to the output of a visual component. For example,  I have a
Properties file containing all my messages and labels. The properties
file is registered in faces-config.xml as a resource bundle:


Sample content from mytest.Messages:


On my Visual JSF page I've got a label for a username input field. On
the properties sheet for the label I click the ".." next to the Text
property, select "Use binding", but the resource bundle is nowhere to
be found.  If instead I enter the binding manually (eg
#{msgs.LABEL_USERNAME} the label becomes empty in the Design editor,
but when the application is deployed it displays the label correctly.

My request is therefore to support ResourceBundles, whether loaded
from faces-config.xml or using the <f:loadBundle /> tag, when binding
to an object.
Comment 1 big_al 2008-08-19 22:29:38 UTC
The reason why I've put it at P2 is because without this functionality it is not possible to properly create internationalised applications using the Visual Web 
Designer.   I can do without the resource bundle in the Binding editor, but when I put it in manually it should use the default locale to display the correct