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 - Rename non-VW pages in PFE does not refactor entries in faces-config
Summary: Rename non-VW pages in PFE does not refactor entries in faces-config
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-07 02:09 UTC by Yousuf Haider
Modified: 2007-08-07 08:53 UTC (History)
0 users

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 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