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.
Summary: | Spring beans not offered in CC | ||
---|---|---|---|
Product: | javaee | Reporter: | Tomas Mysik <tmysik> |
Component: | JSF Editor | Assignee: | Martin Fousek <marfous> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jholder, masaki, mfukala, pjiricka |
Priority: | P2 | Keywords: | PLAN |
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | sample project |
Description
Tomas Mysik
2011-03-14 16:10:53 UTC
Tome, could you please attach a sample project w/ some beans and a simple scenario how to reproduce for me? I'm not a spring expert but I did some changes in the spring editor when migrating the EL to the web.el module. Thanks in advance... Created attachment 107019 [details] sample project Steps: - open attached Maven project - open index.xhtml - invoke CC in #{|}, Spring bean is missing If you open faces-config.xml, you will find out that the EL resolver comes from Spring [1] (if you run it, you will see that the project works as expected). All the Spring beans should be offered in CC. [1] http://static.springsource.org/spring/docs/3.0.x/api/org/springframework/web/jsf/el/SpringBeanFacesELResolver.html Reproducible. I need to investigate whether the metadata got from the Spring model contains the bean or not. The nb spring support is a "bit" outdated so there's no support for the spring annotation-s model. (In reply to comment #4) > The nb spring support is a "bit" outdated so there's no support for the spring > annotation-s model. Too bad :/ 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. *** Bug 183959 has been marked as a duplicate of this bug. *** *** Bug 151814 has been marked as a duplicate of this bug. *** Integrated into 'main-golden', will be available in build *201105200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7ac30ca4fff0 User: Martin Fousek <marfous@netbeans.org> Log: #196690 - Annotated Spring beans not offered in CC of EL |