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

Bug 323709

Summary: Support auto-complete for beans declared with @ManagedBean annotation
Product: [WebTools] Java Server Faces Reporter: Tuukka Mustonen <catapl3xis>
Component: JSF ToolsAssignee: Ian Trimble <ian.trimble>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: catapl3xis, raghunathan.srinivasan, samolisov, yurykats
Version: unspecified   
Target Milestone: 3.4.0 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tuukka Mustonen CLA 2010-08-26 09:54:03 EDT
Build Identifier: 20100617-1415

ManagedBeans, that are declared through faces-config.xml become visible in Facelet autocomplete. Beans declared with @ManagedBean annotation do not appear in that list.

I am not quite sure if this is a bug, a missing feature or if I just fail to setup a working project. Wiki (http://wiki.eclipse.org/Helios_Requirements) mentions about Annotation-based Artifact Declaration, but it seems to be for support for tool developers only?

Reproducible: Always

Steps to Reproduce:
1. Create a new Dynamic Web Project
2. Add a new bean and annotate it with @ManagedBean
3. Add a new HTML page (New Facelet template)
4. Try to use EL auto-complete in HTML page and see that bean is not in the list
5. Add bean as ManagedBean into faces-config.xml
6. Try to use EL auto-complete in HTML page and see the bean in the list
Comment 1 Raghunathan Srinivasan CLA 2010-10-05 18:33:07 EDT
Similar request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=315892#c24
Comment 2 Raghunathan Srinivasan CLA 2010-10-05 18:33:57 EDT
*** Bug 323944 has been marked as a duplicate of this bug. ***
Comment 3 Raghunathan Srinivasan CLA 2011-03-15 20:09:35 EDT
Deferred due to lack of resources
Comment 4 Raghunathan Srinivasan CLA 2011-09-22 13:46:40 EDT
This will be covered as part of the support for annotation in Bug 306428
Comment 5 Raghunathan Srinivasan CLA 2012-01-05 13:40:15 EST
verify
Comment 6 Ian Trimble CLA 2012-01-05 18:50:32 EST
This feature has already been added in the HEAD (3.4.0) stream.