Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367897 - Faces-config | Navigation Rule, provide un-usable menu items (Run As, Debug As, Profile As)
Summary: Faces-config | Navigation Rule, provide un-usable menu items (Run As, Debug A...
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P4 normal (vote)
Target Milestone: 3.4.0 M6   Edit
Assignee: Ian Trimble CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 16:59 EST by Ram Venkataswamy CLA
Modified: 2012-01-10 17:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.