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 246813

Summary: [801cat] cannot rename cc attribute
Product: javaee Reporter: muellermi <muellermi>
Component: JSFAssignee: Martin Fousek <marfous>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description muellermi 2014-09-02 09:01:27 UTC
Product Version = NetBeans IDE 8.0.1 (Build 201408142300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_11
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.11-b03

given a facelets component

    <cc:interface>
        <cc:attribute name="myParam"/>
    </cc:interface>

    <!-- IMPLEMENTATION -->
    <cc:implementation>
       ...
      #{cc.attrs.myParam}
      ....
    </cc:implementation>

Now, click onto one occurence of myParam and key in Ctrl-R

NetBeans displays "The Rename refactoring cannot be aplied to this context"

Shall rename all occurences of myPaam in this file as well as all usages of this component.
Comment 1 muellermi 2014-09-02 09:01:33 UTC
Created attachment 148989 [details]
IDE log
Comment 2 Martin Fousek 2014-09-12 06:53:36 UTC
Sorry, refactoring inside Facelets is not supported yet -> switching to RFE and targeting to the next release.
Comment 3 Martin Balin 2016-07-07 08:56:42 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