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 131855 - Commented javascript lines marked as errors on JSP page
Summary: Commented javascript lines marked as errors on JSP page
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks: 135023
  Show dependency tree
 
Reported: 2008-04-02 18:51 UTC by dlpa
Modified: 2008-09-11 13:24 UTC (History)
0 users

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 dlpa 2008-04-02 18:51:50 UTC
Following commented lines are marked as errors in Nb60. In Nb61 is much better - no errors are reported, 
but .width and .height are underlined in red. Copy script below into empty JSP page to test it.

<script type="text/javascript">
    //dojo.widget.byId('mainPanel').resizeTo(
    //    dojo.html.getMarginBox(dojo.byId('tabIdx<%= session.getAttribute("anything") %>')).width,
    //    dojo.html.getMarginBox(dojo.byId('tabIdx<%= session.getAttribute("anything") %>')).height
    //);
</script>

My Nb60 version (with patches): 
Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb)
Userdir: C:\Documents and Settings\robert\.netbeans\6.0

My Nb61 version:
Product Version: NetBeans IDE Dev (Build 200804020004)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb)
Userdir: C:\Documents and Settings\robert\.netbeans\dev
Comment 1 Marek Fukala 2008-04-06 18:02:12 UTC
reproducible, caused by the JSP expression language
Comment 2 Marek Fukala 2008-08-11 15:09:03 UTC
Already fixed
Comment 3 Jindrich Sedek 2008-09-11 13:24:58 UTC
verified.
NetBeans IDE Dev (Build 20080911010625)