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 198042 - JSF autocompletion for backing beans is not working on existing projects
Summary: JSF autocompletion for backing beans is not working on existing projects
Status: RESOLVED DUPLICATE of bug 195636
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on: 196873
Blocks:
  Show dependency tree
 
Reported: 2011-04-24 10:32 UTC by sebastianovide
Modified: 2011-05-04 12:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sebastianovide 2011-04-24 10:32:38 UTC
similar (or the same) as #196873 (http://netbeans.org/bugzilla/show_bug.cgi?id=196873)

JSF autocompletion for backing beans is not working on existing projects.

Just open an existing project with NB 7.0 and try to use the auto complete.... or press ctrl+click on a #{mybackingbean.myethod}.... it would not find it... 

(no problems at all with  NB 6.9.x).


The strange thing is that even if it works with this new class

@Named("hello")
public class NewClass {
    public String getMyMethod() {
        return "Hello";
    }
}

it doesn't work with existing classes in the same package and using the same annotations !!!!... ???????
Comment 1 sebastianovide 2011-04-27 12:59:13 UTC
see Bug 195636
Comment 2 tremel 2011-05-02 14:20:18 UTC
I also have no EL completion for @Named beans on a existing project.

If I create a new project and move all the sources to it, it works for some short time. After reopening the project the completion does not see the beans again.

No maven, but mercurial is used with the project.
Comment 3 sebastianovide 2011-05-02 14:31:25 UTC
It looks like a big bug for being part of a stable release. In fact it makes it very uncompetitive compared with other IDEs with JSF2 projects
Comment 4 Denis Anisimov 2011-05-04 12:48:21 UTC
This issue has absolutely the same reason as issue #195636.
Marking as duplicate.

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