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.
Created attachment 109470 [details] Failure to code complete The code completion is not working for JSF 2.x. In NB 6.9.1, the closing tags code complete for the current component. In NB 7.0 the code completion wants to close the HTML tags, and not the inner most nested JSF tag. Also tag libraries are not added automatically when the component is being used in a consistent manner. For example, I type <f:facet name="header/> and hit enter. It does not add it to the xmlns declaration automatically.
Created attachment 109471 [details] Editor Detects missing tag lib The editor detects that the tag lib is missing, but fails to automatically add it.
Updated for all platforms
Created attachment 111852 [details] The wrong cc items order screenshot
1. I cannot reproduce the problem with not working add library import hint. If I create a new facelets JSF page, put <f:facet/> inside and apply the hint the import is properly done. 2. As for the completion not offering closing tags for opened facelets tags it works as well, there's only a problem that the items are incorrectly ordered in the completion list (see the attachment).
>I type <f:facet name="header/> and hit enter. It does not >add it to the xmlns declaration automatically. You need to invoke the hint (ctrl-enter) on the line, just pressing enter doesn't work
the problem with completion items order has been fixed fixed in web-main#a249106b8bb8 Please create new issue and put there a list of steps to reproduce if you still encounter the problem #1 in a netbeans 7.1 builds.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a249106b8bb8 User: Marek Fukala <mfukala@netbeans.org> Log: #200189 - fixing the completion items order. Not increasing html.editor.lib major version though there are incompatible changes since both modules html.editor and html.parser are not visible on AU and will likely be updated along with the html.editor.lib
verified, problem #2 in comment #4 no longer exists. Product Version: NetBeans IDE 7.1 RC2 (Build 201111302200) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-13-generic-pae running on i386; UTF-8; en_US (nb)