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.
Please look at the attached screenshot, in older NB 6.9.1, items like requestScope were offered with brackets "[]" indicating that it is an array. In NB7, there are no brackets in list of offered items and also these brackets aren't completed. Steps to reproduce: Create new JavaWeb/Web application project, JavaEE6 and Glassfish 3.1 used. Try CC in default index.jsp Product Version: NetBeans IDE Dev (Build 201105230400) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b12 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Created attachment 108453 [details] screenshot
Marku, can you please investigate?
I do not see a strong reason why the brackets should be completed. You may use the dot notation (preferably) so you won't them. I agree that the map object could be somehow marked in the completion list though.
Vlado, I'm closing that as fixed in 7.4 where I added the type of all implicit objects. In case of requestScope, param and so one there is added Map type according to the specification. The [] brackets looks to me pretty non-standard in comparison to another editors.