Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:Netbeans v6.7 with Facelets module
Description
Ken reported Facelets project created by netbeans doesn't work by default.
The problem is actually the welcomeJSF.xhtml is missing. and welcome page has been registered welcomeJSF.iface.
Enhancement is required. The keys of fixing it are
1. to detect if facelets framework is selected before the project's facelets features are added. One thing noticed that D2DFaceletsViewhandler gets properly added into faces-config. I thought I could take advantage of the condition that was used to register D2DFaceletsViewhandler. Finally I realized that it is not registered in our side. It is actually in Sun's Netbeans facelets module, which hard-coded ICEfaces D2DFaceletsViewhandler by detecting facelets-icefaces-**.jar file name. So far I have trouble of detecting if facelets module is selected.
2. Provides ICEfaces facelets startup xhtml page template
The fix will go with Netbeans v6.7 integration v3.6.1, the first one for netbeans v6.7
Current solution is to let user to select which templates to use.
sample page name changed to welcomeICEfaces
The problem is actually the welcomeJSF.xhtml is missing. and welcome page has been registered welcomeJSF.iface.
Enhancement is required. The keys of fixing it are
1. to detect if facelets framework is selected before the project's facelets features are added. One thing noticed that D2DFaceletsViewhandler gets properly added into faces-config. I thought I could take advantage of the condition that was used to register D2DFaceletsViewhandler. Finally I realized that it is not registered in our side. It is actually in Sun's Netbeans facelets module, which hard-coded ICEfaces D2DFaceletsViewhandler by detecting facelets-icefaces-**.jar file name. So far I have trouble of detecting if facelets module is selected.
2. Provides ICEfaces facelets startup xhtml page template
The fix will go with Netbeans v6.7 integration v3.6.1, the first one for netbeans v6.7
Current solution is to let user to select which templates to use.
sample page name changed to welcomeICEfaces
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion