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 152493 - [65cat]JSF Page Fragment rename doesnt take new value
Summary: [65cat]JSF Page Fragment rename doesnt take new value
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 08:58 UTC by rajivderas
Modified: 2009-11-02 11:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-11-06 08:58:41 UTC
steps:
1) Create a vw project
2) Create a JSF Page Fragment and  goto faces-config.xml
3) The faces-config.xml in designer shows the current jsp or jsf pages right click on the small box to the right of any 
page and select rename
4) In the rename dialog give the new name and press enter
5) Then again a Rename dialog appears and the entered new name is not set in this dialog but the old name is still 
their

When i entered the new name for the first rename dialog it should carry that newly enterd name to the second rename 
dialog appeared.
Comment 1 Peter Zavadsky 2008-11-06 23:03:08 UTC
Yes, it is there.
I debugged it a bit, and found that first the RenameAction (openide) is invoked on JsfJspDataNode, which provides the
first dialog.
Then it calls setName on that node, which invokes the refactoring rename and invokes the second dialog.

Either the first RenameAction is incorrect there, or the way the setName method is overriden.
Passing to the jsf loader to eval further.
Comment 2 _ potingwu 2008-11-06 23:18:12 UTC
This action is coming from 'jsf.navigation'.
Comment 3 _ potingwu 2008-11-20 23:41:52 UTC
.
Comment 4 Quality Engineering 2009-11-02 11:17:35 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX