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.
Summary: | Editor needs to support new EE 7 namespaces | ||
---|---|---|---|
Product: | javaee | Reporter: | chaase3 <chaase3> |
Component: | JSF Editor | Assignee: | Martin Fousek <marfous> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmirilovic, vriha |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
chaase3
2013-03-28 20:43:21 UTC
Thanks chasse3 for the issue. As you mentioned the NS change happen later so it was not caught by wave of implementing JSF editor updates for JSF2.2. According to the specification both namespaces are allowed now although the JCP's ones are the recommended. Definitely has to be fixed into the 7.3.1 - not just the editor hint but also the completion for the namespaces and hints for adding missing facelet taglibrary. This was fixed by more changesets which resolved new namespaces and also compatibility with the old ones: web-main #2bfe51ed7f8e web-main #9bed749bdbb4 web-main #c6c6f2b1d0f6 web-main #2ca22c2ccf46 It should fix also hints issue you were facing, add entries into NS completion etc. I suppose that it could be available in tomorrow's Dev build so feel free to give it another try there and report any issue you would be still facing. Thanks a lot... It seems fine to me, new namespaces are being added using hints/"autocompletion on tag usage" if JSF 2.2 is used. If JSF 2.1, then old namespaces are used instead. Code completion also works. One small observation. Should the new JSF XHTML page template still contain the old namespace? The point is if user with JSF 2.2 let IDE to autocomplete missing namespaces, he ends up with kind of mixed of old/new ones which might feel a bit odd. Product Version: NetBeans IDE Dev (Build web-main-javaee7-207-on-20130405) (In reply to comment #3) > It seems fine to me, new namespaces are being added using hints/"autocompletion > on tag usage" if JSF 2.2 is used. If JSF 2.1, then old namespaces are used > instead. Code completion also works. Thanks for verification. > One small observation. Should the new JSF XHTML page template still contain > the old namespace? The point is if user with JSF 2.2 let IDE to autocomplete > missing namespaces, he ends up with kind of mixed of old/new ones which might > feel a bit odd. You are definitely right, please report it as a new issue. Thanks! You're welcome :) Issue reported as #228281. v. Product Version: NetBeans IDE Dev (Build web-main-javaee7-207-on-20130405) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32 System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb) So, where exactly is this issue fixed ? Is it already in release73 repository ? If so, please change SW to '73patch2-fixed', thanks in advance. patch2 verified Product Version: NetBeans IDE 7.3.1 (Build 201302132200) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb) I have the same problem with Netbeans 7.4 (In reply to haroon_foad from comment #8) > I have the same problem with Netbeans 7.4 Haroon_foad this issue was about support of new namespaces of the JSF 2.2 which was fixed into NetBeans 7.3.1. If you are facing issues around the new/old namespaces please create new issue for that and attach steps or better description what troubles are you facing. Thanks a lot! |