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 228770 - Disable javascript checking permanently or for struts2 tags within javascript
Summary: Disable javascript checking permanently or for struts2 tags within javascript
Status: RESOLVED DUPLICATE of bug 226207
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 13:39 UTC by nitin.cool4urchat
Modified: 2013-04-19 14:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Bug Screenshot (124.36 KB, image/png)
2013-04-19 13:39 UTC, nitin.cool4urchat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nitin.cool4urchat 2013-04-19 13:39:57 UTC
Created attachment 133599 [details]
Bug Screenshot

I'm having a similar issue like this one - 
https://netbeans.org/bugzilla/show_bug.cgi?id=225442

In my case I just see the error on the file (red mark on the file) but there's no red mark on any line.

Simplest Test Case - 
1. Go ahead and create a struts2 project
2. Just open up any .jsp file and add the below code.

[code]<%@taglib  prefix="s" uri="/struts-tags" %>
<script>
 var x=<s:property value="nn"/>
</script>[/code]

Please help. Is guess there should be some way to disable this javascript checking. Because you can't go ahead to fix it for all frameworks out there.
Comment 1 Vladimir Riha 2013-04-19 14:10:31 UTC
I think this is basically duplicate of issue 226207, only except of having <c: in JS embedded code, you have <s:

*** This bug has been marked as a duplicate of bug 226207 ***