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 103589 - JSP Syntax confusing javascript
Summary: JSP Syntax confusing javascript
Status: RESOLVED DUPLICATE of bug 111546
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on: 99526
Blocks:
  Show dependency tree
 
Reported: 2007-05-09 20:37 UTC by ender01
Modified: 2007-08-16 12:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ender01 2007-05-09 20:37:04 UTC
There seems to be a problem with doing something like the following on a jsp 
page:

var myVar = "${someJspVar}";

I get a syntax error from the editor even though this is a valid statement. 
Also, once this is found in a <Script> tag the parser seems to stop 
highlighting the rest of the javascript in that tag as well.
Comment 1 Marek Fukala 2007-05-10 13:46:33 UTC
reproducible, the problem is caused by the expression language embedding.
Comment 2 Marek Fukala 2007-05-10 13:56:00 UTC
basically this is a duplicate of issue #99526 since the EL tokens breaks the
javascript piece into two independent (from the schlieman parser point of view)
ones.
Comment 3 Petr Jiricka 2007-08-16 10:50:03 UTC
99526 is now fixed, so is this one fixed too?
Comment 4 Marek Fukala 2007-08-16 12:45:16 UTC
No it is not fixed just by fix of issue #99526. Now I need to use the mechanism implemented in #99526 in JSP and HTML
editors and the Hanz needs to implement the "gap" support as described in issue #111546. The issue is basically a
duplicate of #111546 for javascript => closing.

*** This issue has been marked as a duplicate of 111546 ***