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 - not proper prompt of syntax error when in jsf using output tag to output javascript
Summary: not proper prompt of syntax error when in jsf using output tag to output java...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2013-03-03 03:44 UTC by anchoret
Modified: 2013-05-06 12:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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">
                        <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.