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 133469 - missing ( before functions parameters
Summary: missing ( before functions parameters
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks: 135023
  Show dependency tree
 
Reported: 2008-04-21 15:18 UTC by davideconsonni
Modified: 2008-09-08 19:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen (13.18 KB, image/png)
2008-04-21 15:18 UTC, davideconsonni
Details
jsp (3.41 KB, text/plain)
2008-04-21 15:19 UTC, davideconsonni
Details
editmode.jsp (2.40 KB, text/plain)
2008-05-13 15:59 UTC, davideconsonni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davideconsonni 2008-04-21 15:18:08 UTC
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)
Comment 1 davideconsonni 2008-04-21 15:18:34 UTC
Created attachment 60496 [details]
screen
Comment 2 davideconsonni 2008-04-21 15:19:07 UTC
Created attachment 60498 [details]
jsp
Comment 3 Marek Fukala 2008-04-21 16:01:55 UTC
reproducible. To fix this we need to take into account the javascript code around the top level language when creating
the virtual javascript code.
Comment 4 davideconsonni 2008-05-13 15:58:53 UTC
in attachment another page to reproduce the error
Comment 5 davideconsonni 2008-05-13 15:59:35 UTC
Created attachment 61339 [details]
editmode.jsp
Comment 6 Torbjorn Norbye 2008-09-08 19:45:30 UTC
I can fix this in the JavaScript parser
Comment 7 Torbjorn Norbye 2008-09-08 19:49:54 UTC
Fixed in changeset 04ff00418e78