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 226937

Summary: not proper prompt of syntax error when in jsf using output tag to output javascript
Product: javascript Reporter: anchoret <anchoret>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: mmirilovic, vriha
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description anchoret 2013-03-03 03:44:47 UTC
after updating to 7.3, the following was prompted to be error in a jsf xhtml file. but it's ok at runtime and correct when opening in NB7.2.
<script type="text/javascript">
this.jqEl.datepicker("option", 
                        <h:outputText value="$.datepicker.regional[this.cfg.locale?(this.cfg.locale.length &gt; 5?(this.cfg.locale.substring(0,5).replace(/_/g,&quot;-&quot;)):(this.cfg.locale.replace(/_/g,&quot;-&quot;))):&quot;&quot;]"/>);
Comment 1 Vladimir Riha 2013-03-03 14:24:06 UTC
Still reproducible


Product Version: NetBeans IDE Dev (Build web-main-10008-on-20130301)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Runtime: Java(TM) SE Runtime Environment 1.7.0-b147
System: Linux version 3.5.0-25-generic running on amd64; UTF-8; en_US (nb)
Comment 2 Petr Pisl 2013-05-06 12:21:59 UTC
We will not put this into the patch. Some work was done in trunk.