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.
i got this error near this code: <script type="text/javascript"> function <%=ns%>linksUp(namespace, itemId) { attach a scriptlet before javascript function name can happen, example on portlet development, with the namespace. in attachment a screenshot and jsp to reproduce the error Product Version: NetBeans IDE Dev (Build 080421) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Linux version 2.6.25-smp running on i386; ISO-8859-1; en_US (nb)
Created attachment 60496 [details] screen
Created attachment 60498 [details] jsp
reproducible. To fix this we need to take into account the javascript code around the top level language when creating the virtual javascript code.
in attachment another page to reproduce the error
Created attachment 61339 [details] editmode.jsp
I can fix this in the JavaScript parser
Fixed in changeset 04ff00418e78