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

Summary: RFE: default to navigation.xml for imported projects
Product: obsolete Reporter: sjangity <sjangity>
Component: visualwebAssignee: _ deva <deva>
Status: NEW ---    
Severity: blocker CC: joellelam
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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();