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 91417 - [cc] Expression Language code completion doesn't work
Summary: [cc] Expression Language code completion doesn't work
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords: REGRESSION
: 92111 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-21 14:10 UTC by Jiri Skrivanek
Modified: 2007-01-23 10:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example JSP. (605 bytes, text/plain)
2006-12-21 14:11 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-12-21 14:10:11 UTC
Code completion at <h:inputText value="#{| doesn't offer anything. To reproduce:

- create web application with JSF framework
- open welcomeJSF.jsp
- copy this to e.g. line 9 <h:inputText value="#{
- press CTRL+Space but no items are offered and the following message appears in
the console:

A loop in SyntaxElement-s detected around offset 289 when scanning the document.
 Please report this and attach the dumped document content: (attched)

Build 20061221-0733, WindowsXP, JDK1.5.0_10.
Comment 1 Jiri Skrivanek 2006-12-21 14:11:06 UTC
Created attachment 36879 [details]
Example JSP.
Comment 2 Marek Fukala 2007-01-08 12:59:13 UTC
The EL CC is not migrated to Retouche yet. Tomasz will likely do the it =>
reassigning.
Comment 3 Tomasz Slota 2007-01-09 14:21:22 UTC
*** Issue 92111 has been marked as a duplicate of this issue. ***
Comment 4 Tomasz Slota 2007-01-17 16:39:25 UTC
First part of migration:

Checking in web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/
JspCompletionQuery.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/
JspCompletionQuery.java,v  <--  JspCompletionQuery.java
new revision: 1.17; previous revision: 1.16
done
Checking in web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/
ELExpression.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/ELExpression.java,v  
<--  ELExpression.java
new revision: 1.5; previous revision: 1.4
done
Checking in ide/golden/deps.txt;
/cvs/ide/golden/deps.txt,v  <--  deps.txt
new revision: 1.428; previous revision: 1.427
done
Checking in web/jspsyntax/nbproject/project.xml;
/cvs/web/jspsyntax/nbproject/project.xml,v  <--  project.xml
new revision: 1.26; previous revision: 1.
Comment 5 Tomasz Slota 2007-01-19 13:46:35 UTC
migration finished, ready for QA

http://web.netbeans.org/source/browse/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/
completion/ELExpression.java?r1=1.6&r2=1.7

http://web.netbeans.org/source/browse/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/
completion/JspCompletionQuery.java?r1=1.17&r2=1.18

http://web.netbeans.org/source/browse/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/
completion/ELImplicitObjects.java?r1=1.3&r2=1.4
Comment 6 Tomasz Slota 2007-01-22 08:49:16 UTC
this fix was only for EL in JSP and not in JSF files (although provided example is in fact a JSF file). Code 
completion for JSF EL is tracked separately as issue 92935
Comment 7 Jiri Skrivanek 2007-01-23 10:04:46 UTC
Verified but it is not fully functional yet (see issue 93006).