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 200429 - Rename of methods does not affect page
Summary: Rename of methods does not affect page
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 12:58 UTC by muellermi
Modified: 2012-10-10 13:14 UTC (History)
0 users

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 muellermi 2011-07-27 12:58:57 UTC
Product Version = NetBeans IDE 7.0.1 RC1 (Build 201106222100)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

given: value="#{myBean.myProperty}"
If I perform a rename refactoring on this property (getter, setter), the EL in my page is renamde properly too.

But:
validator="#{myBean.myMethod}"
A rename of the method wont affect the EL in the page.

validator="#{myBean.myListener}"
a) rename doesn't work either
b) the editor (of the page) marks this expression

autocomplete will expand to validator="#{myBean.myListener(event)}"
In this case, the editor doesn't tag the expression, but it wont work (of course, now event is allways null)
Comment 1 Marek Fukala 2012-10-10 13:14:52 UTC
works fine for me in 7.3