Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367897

Summary: Faces-config | Navigation Rule, provide un-usable menu items (Run As, Debug As, Profile As)
Product: [WebTools] Java Server Faces Reporter: Ram Venkataswamy <ram.venkataswamy>
Component: JSF ToolsAssignee: Ian Trimble <ian.trimble>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P4 CC: raghunathan.srinivasan
Version: unspecified   
Target Milestone: 3.4.0 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ram Venkataswamy CLA 2012-01-04 16:59:19 EST
Build Identifier: 20111215-0110

The Navigation rule tab on faces config provides menu item to run/debug/profile but exercising them doesn't provide any useful result.

Reproducible: Always

Steps to Reproduce:
- open faces-config and switch to navigation rule tab

- define a navigation rule

- right click on individual jsp node or on empty same and exercise Run As (Debug/Profile) and complete

It bring up the browser trying to access http://localhost:8080/jsf1/WEB-INF/faces-config.xml

Suggestion: 

We can provide these run menu items on individual jsp page and the browser should come up accessing the associated page 

or remove all of the run menu items
Comment 1 Ian Trimble CLA 2012-01-10 17:15:30 EST
The menu items in question are added as a result of being associated with the faces-config.xml file object (they are "object contributions"). Platform functionality adds to the menu when it recognizes an object has contributions to be made. We cannot change the object to the pages, and so resolution for this particular bug is to prevent the menu items from being added.

Fix committed to HEAD at 2012/01/10 02:13PM PST.