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 103501 - RFE: default to navigation.xml for imported projects
Summary: RFE: default to navigation.xml for imported projects
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ deva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-08 18:52 UTC by sjangity
Modified: 2007-05-21 23:48 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 sjangity 2007-05-08 18:52:01 UTC
Build 20070506, WinXP JDK 1.6

We support projects migration from the following releases:
+ Creator 2 Update 1
+ NetBeans 5.5 VWP
+ NetBeans 5.5.1 VWP

These older releases used navigation.xml. If the user in today's build invokes
'Page Navigation' the faces-config.xml file is loaded. OUr migrating users will
probably expect their navigation.xml to load. If it's an imported project, any
chance we can default to invoking navigation.xml as the config file when user
opens 'Page Navigation' from context menu on designer?
Comment 1 Joelle Lam 2007-05-21 23:25:32 UTC
Looking at this more closely it seems that insync may need to make a few changes.  

org.netbeans.modules.visualweb.insync.action.ViewPageNavigationAction defines
the action.  If you look at it's getNavigationFileEditorCookie method, you will
see that insync is somehow picking up a default config file from the Model.

FileObject navigationFile = facesModel.getOwner().getConfigModel().getFile();