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 74147

Summary: Renaming JSF managed bean should update config file
Product: javaee Reporter: Jiri Kovalsky <jkovalsky>
Component: RefactoringAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: blocker CC: bleonard
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Kovalsky 2006-03-29 14:09:48 UTC
Development build #200603290200 of NetBeans 5.5
Windows XP, JDK 1.5.0_05 build #05

Description:
============
It would be very handy if IDE updates faces-config.xml accordingly when user
renames JSF managed bean registered in the config file.

Steps to reproduce:
===================
1. Invoke "File|New Project..." from main menu.
2. Select "Web" category and "Web Application" project type. Push "Next >" twice
3. Check "Java Server Faces" framework and click "Finish".
4. Invoke "File|New File..." from main menu.
5. Select "Web" category and "JSF Managed Bean" file type. Push "Next >" and
then "Finish" buttons.
6. Select "NewJSFManagedBean.java" node and invoke "Refactoring|Rename" menu.
7. Setup "New Name" to "Test", uncheck "Preview All Changes" and push "Next >".
8. Open "Configuration Files|faces-config.xml" to see that old information
remains there instead of new class "Test".
Comment 1 Erno Mononen 2006-03-29 14:34:10 UTC
*** Issue 72374 has been marked as a duplicate of this issue. ***
Comment 2 Petr Blaha 2006-03-31 09:55:22 UTC
*** Issue 74230 has been marked as a duplicate of this issue. ***
Comment 3 Erno Mononen 2006-04-03 09:56:28 UTC
Reassigning to Petr (as agreed with him).