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 174947

Summary: Renaming a bundle resource doesn't update the uses in JSF pages
Product: javaee Reporter: cayhorstmann <cayhorstmann>
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description cayhorstmann 2009-10-20 01:31:16 UTC
I have a resource bundle that I reference in faces-config with

   <application>
      <resource-bundle>
         <base-name>com.corejsf.messages</base-name>
         <var>msgs</var>
      </resource-bundle>
   </application>

I reference the bundle items in buttons etc. in my JSF pages, for example

<h:commandButton value="#{msgs.checkAnswer}"
                         action="#{quizBean.answerAction}"/>

When I right-click on checkAnswer in messages.properties, I am offered "Rename". It renames the item, but it fails to
rename its uses in the JSF pages.

I suppose someone somewhere could have installed an evil variable resolver that makes msgs denote something else, so it
might be reasonable to ask for confirmation before refactoring.
Comment 1 Martin Balin 2016-07-07 08:55:05 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss