Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323709 - Support auto-complete for beans declared with @ManagedBean annotation
Summary: Support auto-complete for beans declared with @ManagedBean annotation
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4.0 M5   Edit
Assignee: Ian Trimble CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 323944 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-26 09:54 EDT by Tuukka Mustonen CLA
Modified: 2012-01-05 18:50 EST (History)
4 users (show)

See Also:


Attachments

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