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

Summary: Commented javascript lines marked as errors on JSP page
Product: javaee Reporter: dlpa <dlpa>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 135023    

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)