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 46000

Summary: [50cat] JSP Scriptlets in JSPX syntax don't have Java code completion
Product: javaee Reporter: vnicolici <vnicolici>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 41151    
Bug Blocks: 45912    

Description vnicolici 2004-07-10 14:48:25 UTC
<jsp:scriptlet>
  session.|
</jsp:scriptlet>

The '|' character is the cursor, no CC window is 
displayed. Also, the scriptlet code has no 
syntax highlighting.
Comment 1 Petr Pisl 2004-07-12 08:56:12 UTC
This is not implemented yet. 
Comment 2 losmurfs 2005-02-28 15:38:29 UTC
How sad, an IDE that claims to be a J2EE IDE yet it has no support for
syntax highlighting or code completion in <jsp:scriptlet>,
<jsp:declaration>, and <jsp:expression> bodies in JSP 2.0 jspx files,
which are part of the current J2EE standard.  All that is required to
make this work is to modify the IDE to treat those three tags as <% %>
and <%= %> repectively.

Work around: follow opening tags by <![CDATA[ // <%
and precede closing tags by // %> ]]>

With the workaround the IDE provides good code completion/syntax
highlighting.
Comment 3 zikmund 2005-02-28 16:20:41 UTC
Reverting Version/TM changes.
Comment 4 Marek Fukala 2005-03-01 15:37:27 UTC
We are aware of the problem. Sad to say but we have no time and
enought resources to do all necessary changes to provide the requsted
functionality. Moreover according to our findings most of the users
use JSP standart syntax and only a minimal amout of developers writes
JSP document by hand. So I am sorry, but I must say that this issue
will not be implemented for 4.1. I hope, you will enjoy many new cool
features on the field of j2ee support which are a part of 4.1.
Comment 5 Marek Fukala 2005-10-13 10:44:31 UTC
Changing this issue type to FEATURE. There has never been a support for this.
Please comment if you do not agree.
Comment 6 Marek Fukala 2005-12-07 14:05:03 UTC
*** Issue 70017 has been marked as a duplicate of this issue. ***
Comment 7 cezariusz 2005-12-13 17:49:12 UTC
You have my vote.
Comment 8 suryad 2006-02-06 16:27:55 UTC
My vote as well.
Comment 9 Marek Fukala 2008-10-13 10:28:35 UTC
*** Issue 41151 has been marked as a duplicate of this issue. ***
Comment 10 Marek Fukala 2008-10-13 10:29:18 UTC
jsp:scriptlet, expression and declaration tags are part of jsp 2.0 standart syntax.
Comment 11 Marek Fukala 2008-10-13 11:22:48 UTC
*** Issue 86083 has been marked as a duplicate of this issue. ***
Comment 12 Marek Fukala 2009-09-16 13:52:02 UTC
This has never worked, turning to enhancement.
Comment 13 Marek Fukala 2010-05-06 08:55:41 UTC
already works