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 183959 - add code completion in .xhtml files for annotated spring beans.
Summary: add code completion in .xhtml files for annotated spring beans.
Status: RESOLVED DUPLICATE of bug 196690
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 02:51 UTC by jholder
Modified: 2011-05-19 14:13 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jholder 2010-04-13 02:51:22 UTC
As requested in http://forums.netbeans.org/topic25928.html, I am adding an enhancement request for Netbeans.

Please add support for bean/component resolution in EL code completion for jsf files (.xhtml/.jsf/etc) for spring annotated beans.

As an example, gven the following class:

@Component("helper")

public class Helper {
    private int count;

    public void work() {
        this.count++;
    }

    public void setCount(int count){
        this.count = count;
    }

    public int getCount(){
        return count;
    }
}


in an .xhtml file, if i entered "#{helper.", I would expect "count" to be one of the code completion suggestions to appear.

Thanks!
Comment 1 Martin Fousek 2011-05-19 14:13:05 UTC
Implemented in http://hg.netbeans.org/web-main/rev/7ac30ca4fff0.

For now there is support for default Spring beans annotations: Component,
Controller, Repository, Service and only implicit naming or naming defined by
annotation value.

*** This bug has been marked as a duplicate of bug 196690 ***