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.
Product Version: NetBeans IDE Dev (Build 201310180001) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Steps to reproduce: I have managed bean with two Date fields (one and two) and single boolean In xhtml file type JSF EL expression #{ManagedBean.logical} place caret after logical, type dot and see code complete for boolean type Second expression: #{(ManagedBean.one eq ManagedBean.two)} Once I type dot after closing ')' and invoke intellisence I see code complete for Date but I expected Boolean one. At runtime expression outputs as 'true' or 'false' depending of actual field values.
Sorry, I'm switching this into enhancement. Actually there is type resolution for single types but not for expressions at all. It can be quite complicated in some cases but we still could leverage bundled EL parser and register the managed beans into it and let it resolve the expression. In any case whole such functionality has to be implemented from scratch. Thanks for your report.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss