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 197428 - JSF2 Facelets editor autocomplete missing xml namespace
Summary: JSF2 Facelets editor autocomplete missing xml namespace
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 194926 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-05 08:32 UTC by alin.costea
Modified: 2011-08-03 09:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
easily reproductible by pressing CTRL+SPACE (25.06 KB, image/png)
2011-04-05 08:33 UTC, alin.costea
Details
screenshot (127.19 KB, image/png)
2011-07-25 12:46 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alin.costea 2011-04-05 08:32:36 UTC
The editor auto completion for JSF 2 Facelets View files does not take into account the XML namespace prefix for components.
Comment 1 alin.costea 2011-04-05 08:33:21 UTC
Created attachment 107500 [details]
easily reproductible by pressing CTRL+SPACE
Comment 2 Marek Fukala 2011-05-18 14:27:06 UTC
Reproducible. Ugly regression
Comment 3 Marek Fukala 2011-05-24 16:04:45 UTC
fixed in web-main#84ac7dd61729
Comment 4 Marek Fukala 2011-05-24 16:05:24 UTC
releases/release701#3189f23ce944
Comment 5 Quality Engineering 2011-05-25 10:45:03 UTC
Integrated into 'main-golden', will be available in build *201105250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/84ac7dd61729
User: Marek Fukala <mfukala@netbeans.org>
Log: #197428 - JSF2 Facelets editor autocomplete missing xml namespace
Comment 6 Vladimir Riha 2011-07-25 12:46:17 UTC
I'm trying to verify this, but I can't find a way to test it. I created new Java Web App with JSF framework (default settings). Every time I tried to "end" element from namespace "h", the </html> closing tag was autocompleted. I even tried to change the prefix to "q" and now CC offered </html>, which is non-matching tag. (look at the screenshot). Is it related to this bug or should I report new one?

 
Product Version: NetBeans IDE 7.0.1 (Build 201107211357)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.38-10-generic running on i386; UTF-8; en_US (nb)
Comment 7 Vladimir Riha 2011-07-25 12:46:47 UTC
Created attachment 109600 [details]
screenshot
Comment 8 Marek Fukala 2011-07-29 12:11:44 UTC
Yes please. The end tag completion doesn't work at all. I do not understand how come since the tests are passing. Please file  a new issue and I'll fix it ASAP so then you can verify this one. Thanks
Comment 9 Vladimir Riha 2011-07-29 12:28:16 UTC
Ok, thanks for the info. The reported issue is #200515
Comment 10 Vladimir Riha 2011-08-01 07:50:36 UTC
verified

Product Version: NetBeans IDE Dev (Build web-main-5448-on-20110729)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 11 Marek Fukala 2011-08-03 09:38:00 UTC
*** Bug 194926 has been marked as a duplicate of this bug. ***