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.
use this code in JSP file: ------------------- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <script type="text/javascript"> function f() { <c:url value="" value="${param.dd}"> <c:param name="bar" value="${param.value}"/> </c:url> } </script> ---------------------------- line with <c:param ... > is red highlighted and line with <c:url ...> has hint annotation complaing about code with no side effects -> both Java Script annotations have no sence in the JSP code. See issue #131871 for details and screenshot
The problem is in javascript virtual source generation - multiple subsitute identifiers are used in generated javascript code. Since the identifiers doesn't have a semicolon as a postfix the error appears. Virtual javascript source for the example: function f() { __UNKNOWN__ __UNKNOWN__ __UNKNOWN__ } The model generator should probably skip body of jsp tags.
I've got the same problem, even if the jsp code is written with <%%> tag
Hello mfukala, can you please fix this bug as soon as possible (till 09-Jun-2008), so it can be part of NB 6.1 patch 2? Thanks!
The issue didn't meet nomination criteria for 61patch2 till nomination cut-off date. It has been moved to the next patch.
*** Issue 132728 has been marked as a duplicate of this issue. ***
Ahoj Marku, would you please fix this issue as soon as possible, preferably earlier than Aug 5, what is 61fixes3 cut-off date? Thanks, -R
This issue did not meet the criteria for inclusion in NetBeans 6.1 Patch 3.
I should be able to fix this in the JavaScript parser (e.g. I can auto insert semicolons when I detect that the expression is involving a synthetic identifier used for embedding models)
Fixed in changeset 0ebe37b98a1b
verified. NetBeans IDE Dev (Build 20080911010625)