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.
[ 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: <application> ... <resource-bundle> <base-name>mytest.Messages</base-name> <var>msgs</var> </resource-bundle> ... </application> Sample content from mytest.Messages: LABEL_USERNAME=Username: LABEL_PASSWORD=Password: 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.
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 message.