| View previous topic :: View next topic |
| Author |
Message |
phamtn8
Joined: 27 Apr 2011 Posts: 7
|
Posted: Wed Apr 27, 2011 9:44 pm Post subject: NB 7.0: Code Completion does not work on JSF page |
|
|
| On NB 6.9.1, when I type a managed bean name in my JSF page, a list of variables and methods that belong to that managed bean come up. It does not do that anymore in NB 7.0. What did I do wrong here, and how do I fix it. I have snow leopard. |
|
| Back to top |
|
 |
phamtn8
Joined: 27 Apr 2011 Posts: 7
|
Posted: Thu Apr 28, 2011 1:56 am Post subject: |
|
|
| Can anyone else confirm this behavior? |
|
| Back to top |
|
 |
nucahxToo
Joined: 30 Apr 2011 Posts: 1
|
Posted: Sat Apr 30, 2011 4:45 pm Post subject: I can confirm this |
|
|
| I get the exact same issue. It has been broken since RC1 |
|
| Back to top |
|
 |
CharlesMc
Joined: 03 May 2011 Posts: 2
|
Posted: Tue May 03, 2011 4:02 pm Post subject: Same problem |
|
|
I just upgraded to Netbeans 7 build 201104080000 and have the same issue. Code completion does not work on JSF pages.
When I look at the project properties, Frameworks and select the "Configuration" tab the "Preferred Page Language:" selection shows JSP. I change this to facelets but if I save this and open it again it always reverts to JSP. |
|
| Back to top |
|
 |
jyeary
Joined: 21 Oct 2008 Posts: 612 Location: Simpsonville, SC
|
Posted: Tue May 03, 2011 8:41 pm Post subject: Re: NB 7.0: Code Completion does not work on JSF page |
|
|
I assume that you are using JSF 1.2 without facelets installed? It looks like they forgot to include facelets along with JSF 1.2. You can add it yourself, or create a new library which includes it.
On Tue, May 3, 2011 at 12:02 PM, CharlesMc <address-removed ([email]address-removed[/email])> wrote:
| Quote: | I just upgraded to Netbeans 7 build 201104080000 and have the same issue. Code completion does not work on JSF pages.
When I look at the project properties, Frameworks and select the "Configuration" tab the "Preferred Page Language:" selection shows JSP. I change this to facelets but if I save this and open it again it always reverts to JSP.
|
--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary
"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt |
|
| Back to top |
|
 |
CharlesMc
Joined: 03 May 2011 Posts: 2
|
Posted: Tue May 03, 2011 9:50 pm Post subject: |
|
|
No, I'm using JSF 2.0, running on Tomcat 7.0 and using Netbeans 7 as my IDE.
I just finished a JSF 2.0 project using Netbeans 6.9.1 and Tomcat 6 with no issues. I am familiar with configuration of Netbeans and have been using it for several years. I opened my project in Netbeans 6.9.1 and EL code completion works. The only change I had to make was the server, since 6.9.1 doesn't support Tomcat 7. |
|
| Back to top |
|
 |
phamtn8
Joined: 27 Apr 2011 Posts: 7
|
Posted: Wed May 04, 2011 2:48 am Post subject: |
|
|
| Can anyone create an issue for this. I cant seem to register to netbeans.org to create an issue. Thank you |
|
| Back to top |
|
 |
pedalshoe
Joined: 04 May 2011 Posts: 4
|
Posted: Wed May 04, 2011 8:51 pm Post subject: Upgraded to 7.0 and JSF code competion isn't working |
|
|
My Environment:
Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\*******\.netbeans\7.0
App Server: jBoss 5.1.0.GA
App Server jdk: 1.5.0_22
Facelets: 1.1.15-jsf1.2
JSF built into jBoss 5.1.0
I upgraded and code completion in a Facelets Client file isn't working anymore.. the project that i had included the Facelets libraries since I am developing against JBoss as 5.1.0.GA.
Is there a way to get it working again in NetBeans7.0 like it was in 6.9.1?
Thank you,
-Christopher |
|
| Back to top |
|
 |
heffman
Joined: 04 May 2011 Posts: 1
|
Posted: Wed May 04, 2011 9:02 pm Post subject: having same problem |
|
|
| I am having the same problem since upgrading to Netbeans 7.0. Code completion for JSF pages is completely broken. Tried on Windows 7, Fedora 14, same thing. Tried on Glassfish 3.1 and Tomcat 7, no change. I hope they get this fixed soon. |
|
| Back to top |
|
 |
Petr Jiricka Posted via mailing list.
|
Posted: Thu May 05, 2011 8:32 am Post subject: Re: NB 7.0: Code Completion does not work on JSF page |
|
|
It does not work? What failure are you getting exactly? Are you going through this page? https://netbeans.org/people/signup
Please let us know so we can investigate.
Regarding the JSF completion problem, yes, having a bug report with exact steps to reproduce would be really useful to us.
Please note also that some issues in this area were fixed after 7.0. It would be great if you could try out 7.0.1 daily build here: http://bits.netbeans.org/download/trunk/nightly/ and let us know whether things have improved.
Thanks,
Petr
On May 4, 2011, at 4:48 AM, phamtn8 wrote:
| Quote: | Can anyone create an issue for this. I cant seem to register to netbeans.org to create an issue. Thank you
|
|
|
| Back to top |
|
 |
kalamar
Joined: 05 May 2011 Posts: 1
|
Posted: Thu May 05, 2011 9:34 pm Post subject: |
|
|
Same problem here.
I noticed the red icon in the lower right corner of the editor with the stacktrace:
| Quote: | java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:595)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:341)
at java.util.jar.JarFile.getInputStream(JarFile.java:401)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
at sun.misc.URLClassPath$Loader$1.getInputStream(URLClassPath.java:553)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.sun.faces.util.Util.loadClass(Util.java:291)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at org.netbeans.modules.web.jsf.editor.facelets.mojarra.FaceletsTaglibConfigProcessor.loadClass(FaceletsTaglibConfigProcessor.java:212)
at org.netbeans.modules.web.jsf.editor.facelets.mojarra.FaceletsTaglibConfigProcessor.processHandlerClass(FaceletsTaglibConfigProcessor.java:382)
at org.netbeans.modules.web.jsf.editor.facelets.mojarra.FaceletsTaglibConfigProcessor.processTags(FaceletsTaglibConfigProcessor.java:341)
at org.netbeans.modules.web.jsf.editor.facelets.mojarra.FaceletsTaglibConfigProcessor.processTagLibrary(FaceletsTaglibConfigProcessor.java:284)
at org.netbeans.modules.web.jsf.editor.facelets.mojarra.FaceletsTaglibConfigProcessor.process(FaceletsTaglibConfigProcessor.java:239)
at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.parseLibraries(FaceletsLibrarySupport.java:354)
at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport._findLibraries(FaceletsLibrarySupport.java:286)
at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.findLibraries(FaceletsLibrarySupport.java:231)
at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.getLibraries(FaceletsLibrarySupport.java:155)
at org.netbeans.modules.web.jsf.editor.JsfSupportImpl.getLibraries(JsfSupportImpl.java:176)
at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.highlightJsfTags(JsfHtmlExtension.java:182)
at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.getHighlights(JsfHtmlExtension.java:131)
at org.netbeans.modules.html.editor.gsf.HtmlSemanticAnalyzer.run(HtmlSemanticAnalyzer.java:85)
[catch] at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:318)
at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.access$000(SemanticHighlighter.java:83)
at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run(SemanticHighlighter.java:151)
at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run(SemanticHighlighter.java:160)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:202)
at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:199)
at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:168)
at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:356)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:66)
at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:199)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:106)
at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:132)
at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:83)
at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:715)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:732)
|
|
|
| Back to top |
|
 |
rasta1
Joined: 06 May 2011 Posts: 1
|
Posted: Fri May 06, 2011 8:35 am Post subject: |
|
|
good post  |
|
| Back to top |
|
 |
raven9t
Joined: 16 Jun 2011 Posts: 1
|
Posted: Thu Jun 16, 2011 10:19 pm Post subject: |
|
|
| What happen about this bug?, it's solved? |
|
| Back to top |
|
 |
sebmap
Joined: 26 Jan 2011 Posts: 11
|
Posted: Thu Jul 14, 2011 9:08 am Post subject: problem still alive |
|
|
same problem here... forced to used NB 6.9.1 as NB 7 doesn't fully support JSF2 !  |
|
| Back to top |
|
 |
johanvanzyl
Joined: 21 Jul 2011 Posts: 3 Location: South Africa
|
Posted: Thu Jul 21, 2011 3:10 pm Post subject: No autocomplete on JSF using facelets |
|
|
| I have the same problem using NetBeans IDE 7.0 (Build 201104080000) on Mac OS X Snow Leopard. |
|
| Back to top |
|
 |
|