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 - Renaming a bundle resource doesn't update the uses in JSF pages
Summary: Renaming a bundle resource doesn't update the uses in JSF pages
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 01:31 UTC by cayhorstmann
Modified: 2016-07-07 08:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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