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 - [801cat] cannot rename cc attribute
Summary: [801cat] cannot rename cc attribute
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 09:01 UTC by muellermi
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (198.29 KB, text/plain)
2014-09-02 09:01 UTC, muellermi
Details

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