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 240550 - The code beatifier does not work in GSP files for javascript within <script> tags
Summary: The code beatifier does not work in GSP files for javascript within <script> ...
Status: RESOLVED DUPLICATE of bug 236197
Alias: None
Product: groovy
Classification: Unclassified
Component: GSP (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 15:41 UTC by renouf
Modified: 2014-03-28 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen show of gsp (5.04 KB, image/png)
2014-01-16 15:42 UTC, renouf
Details
Screenshot of the html (5.30 KB, image/png)
2014-01-16 15:42 UTC, renouf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renouf 2014-01-16 15:41:44 UTC
Product Version = NetBeans IDE 8.0 Beta (Build 201401141042)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Comment 1 renouf 2014-01-16 15:42:27 UTC
Created attachment 144036 [details]
screen show of gsp
Comment 2 renouf 2014-01-16 15:42:52 UTC
Created attachment 144037 [details]
Screenshot of the html
Comment 3 renouf 2014-01-16 15:44:48 UTC
This is related groovy/grails project.

-create a grails project
-create a gsp with some inline javascript
-create a html with some inline javascript

visual is not the same for both and code format does not work on the gsp
Comment 4 renouf 2014-01-16 15:48:06 UTC
Restarting netbeans does not solve the problem for me
Comment 5 Petr Hejl 2014-03-21 09:39:48 UTC
I think the javascript embedding in GSP does not work or is not present at all.
Comment 6 Martin Janicek 2014-03-28 10:25:00 UTC
Unfortunately Petr is right, JavaScript embedding in GSP is not present. It was never implemented so far
Comment 7 Martin Janicek 2014-03-28 10:25:06 UTC

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