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 7327 - JSP code completition behave incorectly in jsp directive attributes offering
Summary: JSP code completition behave incorectly in jsp directive attributes offering
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 3.x
Hardware: Other All
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-09 15:44 UTC by Marek Fukala
Modified: 2009-11-02 11:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2000-08-09 15:44:45 UTC
If you use CC to add an atribute to JSP directive, e.g. <@%page isThreadSafe=""
and then you use CC again, CC offers to you a list of remaining attributes (all
without isThreadSafe) - it fine.
But there is a situation which CC doesn't solve:
if you write
<%@page isThreadSafe="true"%>
.
.
.
<%@page and invoke CC, it offers all atributes related to this directive. This
behavior is incorrect, because JSP doesn't allow you to use directive attribute
more that one time.
Comment 1 _ rkubacki 2001-03-13 13:34:29 UTC
Version 3.1 -> 3.2, but it will be fixed later
Comment 2 Quality Engineering 2003-07-02 08:24:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 08:27:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 4 Jan Chalupa 2003-10-30 12:06:53 UTC
A mistakenly closed RESOLVED LATER/REMIND issue. Reopening.
Comment 5 Marek Fukala 2004-10-08 12:18:36 UTC
Fixing this would require either the entire JSP page to be parsed in
the moment when the CC is opened and find all occurances of the
attribute, or to have a semantic model of the page and query it to get
necessary data somehow. Since the first approach would slow down the
CC opening dramatically and there is not currently any support for the
second one, there is not any way how to reasonably fix it now.
Comment 6 Petr Pisl 2005-10-24 13:38:51 UTC
Marek, you are developer now:). So will we fixed this issue?
Comment 7 Marek Fukala 2008-11-18 15:38:54 UTC
doesn't seem to be important
Comment 8 Quality Engineering 2009-11-02 11:17:07 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX