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 - Renaming JSF managed bean should update config file
Summary: Renaming JSF managed bean should update config file
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
: 72374 74230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-29 14:09 UTC by Jiri Kovalsky
Modified: 2006-04-03 09:56 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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