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.
create a ManagedBean Foo: ----------------- @ManagedBean(name = "Foo") @RequestScoped public class Foo { protected List<String> friends; public List<String> getFriends() { return friends; } public void setFriends(List<String> friends) { this.friends = friends; } } ------------------ use EL in XHTML and invoke cc at position of "|" -> 'empty' is offered: ${Foo.friends.|} complete code -> you get ${Foo.friends.empty} note that 'empty' gets coloring as EL keyword; running the application causes error shown in browser: --------------------- An Error Occurred: /index.xhtml @12,39 test="${Foo.friends.empty}" Error Parsing: ${Foo.friends.empty} --------------------- We should not offer keywords as properties in cc and it would be also good candidate for an error message shown in editor if a keyword is used as a property
web-main: a9c73c5c0876 EL keywords removed from Code Completion menu.
web-main: 37a3b4a9fa95
Integrated into 'main-golden', will be available in build *201205300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a9c73c5c0876 User: Petr Podzimek <PetrPodzimek@netbeans.org> Log: #178126 - keywords should not be offered as JSF properties in EL Issue #178126 - keywords should not be offered as JSF properties in EL