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 205516

Summary: Invalid item in code completion inside JSP file
Product: web Reporter: Vladimir Riha <vriha>
Component: CSS Visual ToolsAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Vladimir Riha 2011-11-24 10:49:40 UTC
Created attachment 113500 [details]
screenshot

Please look at the screenshot.

Steps to reproduce:
- create new Java Web Application, Java EE 6 Web, Glassfish 3.1.1
- paste following code into the index.jsp (inside <head>)
        <style>

            .sdss::after{
                background:  <%= getBestIDE()%>;
                font:  <% application.getAttributeNames();%>;
                |    
            }

            div{
                caption-side: ${myDate};
                
            }
        </style>

- invoke CC at "|" (delete the "|" and invoke CC)
=> </style> is among offered items

Product Version: NetBeans IDE 7.1 RC1 (Build 201111232200)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-12-generic-pae running on i386; UTF-8; en_US (nb)