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.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70 <h:selectOneMenu value="#{myBean.myProperty}"> <f:selectItems value="#{valueLists.myValues}" /> <f:ajax event="change" render="@this myText" /> </h:selectOneMenu> <h:inputTextarea id="myText" /> - place move mouse pointer onto "myText" - press ctrl-r (rename) --> NetBeans opens the refactor rename dialog, requiering a "#" in front of the id (btw, why is this hash needed?) - enter a #newName --> NB does not rename the id on other occurences <h:selectOneMenu value="#{myBean.myProperty}"> <f:selectItems value="#{valueLists.myValues}" /> <f:ajax event="change" render="@this myText" /> ### here the old id myText remains, should be newName ### </h:selectOneMenu> <h:inputTextarea id="newName" /> ### here NB places the new name ###
Created attachment 147024 [details] IDE log
Reproducible, but I think this is more of an enhancement. Reassigning to JSF Product Version: NetBeans IDE 8.0 (Build 201403101706) Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1 Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
I agree that it's likely enhancement, we don't have implemented refactoring for JSF from HTML editor.
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