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 38505 - Provide coloring in java scriptlets within JSP documents
Summary: Provide coloring in java scriptlets within JSP documents
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-07 16:54 UTC by Marek Fukala
Modified: 2016-07-07 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2004-01-07 16:54:29 UTC
[20040106]
There is a minor issue concerning the JSP
Documents (XML). As being pure XMLs they should
not have the Scriptiong language property for
there cannot be any scriptlets within them.
Comment 1 capSS 2004-01-30 09:40:51 UTC
Scripting Language should set not html scripting language like 
JavaScript.
But JSP Scripting language like java. 
See JSP tutorial http://java.sun.com/j2ee/1.
4/docs/tutorial/doc/JSPAdvanced.html

So the result XML will not have any scripts inside.
Comment 2 Marek Fukala 2004-01-30 13:12:06 UTC
Thanks for you comment. However the bug is about something else that
you probably think. I am aware of what is java scriptlet. The problem
is as follows: In J2EE terminology the JSP Document is a pure XML
document (see J2EE 1.4 documentation) and so it cannot contain such
scriptlets which are used in 'common' JSP pages. The meaning of the
'Scripting Language' is that it only affects JSP page coloring. 
Comment 3 Marek Fukala 2004-01-30 13:16:53 UTC
This bug is quite strange - the Scripting Language property has not
effect since we do not support coloring of scriptlets in JSP Document
(enclosed in the <![CDATA[]]> section). We should implement that
feature (JSP Document scriptlets coloring) rather than removing the
property => changing to an enhancement for Promo-D.
Comment 4 Petr Jiricka 2004-01-30 15:16:05 UTC
I actually think this is a bug - at least because the name of the
property is confusing, and users don't know what it is for.
Comment 5 Marek Fukala 2004-02-02 10:47:53 UTC
I would say the meaning of the property is quite clear, however it's
not working now - see. #39316. 
I am not sure if the property is needed at all, so I have filled a new
bug concerning this: #39462
Comment 6 Martin Balin 2016-07-07 08:54:03 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss