Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:Netbeans 7
Description
JSF support in Netbeans 7 includes some changes and introduces some new features, such as improved EL support in editor. etc. One of them being mentioned widely is called "Support for JSF component libraries, including bundled Primefaces library". PrimeFaces 2.1 runtime is bundled as example only available for JSF 2.0 environment . This feature allows 3rd party component library provider to easily create a netbeans module for their component library.
In JSF configuration panel, a Components tab is added with a combo box to select one and only one component suite. This can be done by JSFComponentProvider to provide component jar files.
We could combine core and ACE component as one ICEfaces2 component to be listed in the Component Suite combo box. But we cannot provide compat components as compat component needs further configuration (adding compatResourceServlet in web.xml).
A bugzilla case: "Allow multiple JSF component libraries" is created.
http://netbeans.org/bugzilla/show_bug.cgi?id=194445
In JSF configuration panel, a Components tab is added with a combo box to select one and only one component suite. This can be done by JSFComponentProvider to provide component jar files.
We could combine core and ACE component as one ICEfaces2 component to be listed in the Component Suite combo box. But we cannot provide compat components as compat component needs further configuration (adding compatResourceServlet in web.xml).
A bugzilla case: "Allow multiple JSF component libraries" is created.
http://netbeans.org/bugzilla/show_bug.cgi?id=194445
Due to limited functionalities provided, this solution is dropped temporarily.
Email sent to oracle.
Ted,
Is this you need for requesting enhancement on the new feature JsfComponentProvider ?
In Netbeans 7.0, a new JSF support feature JsfComponentProvider through path "j2ee/jsf/components" is introduced. This is a nice feature to allow custom component library plugged into Netbeans. But current implementation only allow one custom component library to be selected. This restricts us (icefaces) to adopt this feature as ICEfaces 2 provides 2 sets of component suits, ICEfaces Advanced Components and ICEfaces Components with different namespaces.
It would be very nice if Netbeans could extend this feature to allow multiple component libraries. An enhancement bugzilla case is created (http://netbeans.org/bugzilla/show_bug.cgi?id=194445).
It would be even nicer if Netbeans could extend this feature to allow custom configuration tab and selection listener for further custom configuration for selected component libraries. Eclipse WTP (oracle contributes) does have similar thing called LibraryProvider framework, which provides LibraryProvider configuration model, LibraryProvider configuration panel, and LibraryProvider configuration operation.
Another issue is about friend module. JsfComponentProvider is a open API for custom component library providers. But the module of "JsfComponentProvider" class belongs "JSF Support" to is only open to friend modules listed in JSF Support module. This means custom component library providers cannot add their modules unless being listed in JSF Support module as "friend".
Before this feature is enhanced, we have to add ICEfaces support by "WebFrameworkProvider" through path "j2ee/webtier/framework"
Closed for now.