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 112139

Summary: Rename non-VW pages in PFE does not refactor entries in faces-config
Product: javaee Reporter: Yousuf Haider <yousufh>
Component: CodeAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Yousuf Haider 2007-08-07 02:09:49 UTC
jdk 6u2
Build 200708060000

1. Create new VW project.
2. Add html or plain jsp page to project.
3. Rename VW jsp page through PFE. (right click on page icon and click on rename)
4. VW jsp page will renamed and its corresponding entry in faces-config will be refactored as well.
5. Now rename html or plain jsp page through same process. The original page will be renamed but the corresponding entry
in faces-config file will retain the old name.

The entry in faces-config should also be renamed. 

Workaround:
Change entries in faces-config manually.
Comment 1 Yousuf Haider 2007-08-07 02:25:25 UTC
Just tried it again and this only happens if there is a navigation rule defined that has an entry for a non VW page.

Therefore after step 2 create a navigation case from VW page to non VW page and then continue to step 3.
Comment 2 Joelle Lam 2007-08-07 02:31:30 UTC
It seems that refactoring of JSP or HTML page does not refactor also the faces config file.
Comment 3 Petr Pisl 2007-08-07 08:53:03 UTC
The refactoring of html and jsp pages are not supported yet -> Enhancement