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.
1. Create a Java EE 6 web application with JSF 2. Create CRUD application using Entity Classes from DB and JSF pages from Entity Classes. 3. Open List.xhtml 4. Invoke code completion here: #{item.|customerId} - | marks caret position Applicable possibilities from the 'item' object are not found, instead, completion seems to pick up possibilities from the 'items' object.
Created attachment 93959 [details] Attaching a screenshot.
reproducible, the Collection's methods are offered.
*** Bug 90341 has been marked as a duplicate of this bug. ***
Although it is a defect/regression, priority is P2 and target is 6.9? Hmm. I took a brief look at the sources for myself, but I had no clue ;-)
It's actually not a regression. It never worked for classes implementing Iterable, only when a method with Iterable return type was used as a value attribute. fixed in web-main#7d061b22143d but there are still issues... I tried some more complicated scenarios which didn't work. However given the state of code I am not willing to do more such fixes into it since it is really ugly implemented and I would have to redone it from scratch to be able to precisely follow the EL rules. mithridates, please verify if you can on as much cases as possible. I wonder if the broken cases I ment above happens in real world applications. Thanks in advance.
(In reply to comment #5) > fixed in web-main#7d061b22143d So it will be available in the next nightly build, right? Or will I have to buid for myself? (hadn't tried that before, maybe a good exercise ;-) > However given the state of code I am not willing to do more such > fixes into it since it is really ugly implemented and I would have to redone it > from scratch to be able to precisely follow the EL rules. Exactly what I was expecting after looking at the code and reading your comments ;-) > mithridates, please verify if you can on as much cases as possible. I wonder if > the broken cases I ment above happens in real world applications. Thanks in > advance. Yes of course I will do. If necessary: should I file new issues with reference to this one?
(In reply to comment #6) > So it will be available in the next nightly build, right? Or will I have to > buid for myself? (hadn't tried that before, maybe a good exercise ;-) During one day it should be merged into the main build, then a message will be put here by the infrastructure. > > the broken cases I ment above happens in real world applications. Thanks in > > advance. > Yes of course I will do. If necessary: should I file new issues with reference > to this one? That would be nice. Thanks.
Integrated into 'main-golden', will be available in build *201002190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7d061b22143d User: Marek Fukala <mfukala@netbeans.org> Log: #180426 - Code completion in EL confuses the object to complete on
(In reply to comment #7) > (In reply to comment #6) > > > the broken cases I ment above happens in real world applications. Thanks in > > > advance. > > Yes of course I will do. If necessary: should I file new issues with reference > > to this one? > That would be nice. Thanks. First: Completion for var-variable of datatable is ok with build 201002190200. But as You stated above, there are still some problems. In the next days I will outline these points and File a new Issue.