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.
When using <%@ taglib uri=" Netbeans 6.1 used to show a list of available uri e.g. http://java.sun.com/jsp/jstl/core In 6.5 I get a red status message saying "equal symbol expected". The same thing is happening with the <jsp:useBean class=" . 6.1 displays a list of classes. 6.5 shows a red status message "equal symbol expected"
Works fine for me on latest dev build. Can you reproduce it always even on fresh new Web Application project?
dkonecny, Yes. I even did a clean install on a machine that never had Netbeans... and still cant get it to work.
Completion in other places works? If you register your tag library, type < and invoke the completion, do you see the custom tags there? Where exactly the error "equal symbol expected" appear? Is it just shown in a red line below the editor window or there is just an annotation in the text? Can you please create a snapshot of the editor in that state?
Created attachment 74274 [details] Taglib showing attributes
Created attachment 74275 [details] Attachment with error message for Taglib
Created attachment 74276 [details] Attachment with error message for useBean
Created attachment 74277 [details] Screen show showing error using useBean
I've attached 3 screen shots. The first one showing how the code complete wizard looks when I first using the taglib directive. The second and third shows the error message I get. I've added the jstl files to my library. Thanks.
Strange, I cannot reproduce any of the problems on latest trunk build. Can you please tell me what build number you have? Please put here the about Netbeans window content, specifically content of the text area at the bottom of the window. Thanks.
Created attachment 74285 [details] About ScreenCapture
Created attachment 74286 [details] About ScreenCapture
mfukala, I've posted the about screen. Thanks a lot for helping.
Thanks. Reproducible on 6.5 FCS build. I'll address this later during 7.0 cycle.
Oops, user error :-) The message "Equals symbol expected" is reproducible but not the missing completion. The message is correct since the source is syntactically broken. If you do following: 1) run netbeans with new userdir 2) create new web project with a web server 3) add JSTL library 4) type <%@taglib uri=" 5) and invoke the completion do you really do not see the URIs???
mfukala, Nope.. I don't see see the drop down. I've installed the latest nightly build and it working now. Thanks for all you help.
Marek, is this 65fixes2-candidate? When was it fixed?
Our QE jsedek confirmed that there is no such problem in 6.5 FCS build (the completion offers the URIs). I do not understand why it doesn't work for the reporter. I am not aware of any fixes related to this committed after FCS (20081110) build.
I tried with the latest NB 6.8 build (| denotes caret position): 1/ <%@ taglib uri="| works well 2/ <jsp:useBean class="j|" id="a"/> also works well 3/ <jsp:useBean class="j| does not work Looks like the page needs to be parseable?
This is likely related to the fact that the java embedding is not created for the unfinished attribute. The lexical java embedding is done in SimplifiedJSPServlet by Tomasz, reassigning.
Currenlty there are two problems: 1) the java embedding is not created and the completion doesn't work if the attribute is not finished: <jsp:useBean class="j| 2) the completion doesn't work if the ID attribute is missing <jsp:useBean class="j|" /> 3) the completion doesn't work if there's no prefix in the attribute value <jsp:useBean class="|" id="my"/>
*** Bug 199424 has been marked as a duplicate of this bug. ***
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.