| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/01/2007 17:53:05
|
ken.fyten
Joined: 26/10/2004 00:00:00
Messages: 344
Offline
|
Just wanted to let everyone know in case they missed it that the ICEfaces v1.5.2 release yesterday includes an early access version of the ICEfaces support for NetBeans 5.5 with the Visual Web Pack.
You can download it from the usual spot on the Official Releases page.
Regards,
Ken
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/01/2007 01:05:11
|
scemoglu
Joined: 20/11/2006 00:00:00
Messages: 1
Offline
|
Hi,
I have downloaded ICEfaces v1.5.2 and installed on Netbeans 5.5 with VWP. I right click on a Visual Web project and click "Enable Icefaces". But when I enable Icefaces nothing happens. I mean shouldn't I see some Icefaces components on the palette? Currently there are no new components in the palette. How am I supposed to use Icefaces with Netbeans VWP?
Thanks for your help.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/01/2007 07:24:26
|
magf
Joined: 08/01/2007 00:00:00
Messages: 1
Offline
|
According to the installation document you should manually import the component library into Component Library Manager.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 20/01/2007 23:30:49
|
jyeary
Joined: 14/11/2006 00:00:00
Messages: 8
Offline
|
If you are using NB 5.5.1, you should not need to import the component library. NB 5.5.1 adds it automatically. You should check of course. ;-)
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 22/01/2007 17:17:19
|
sdoca
Joined: 22/01/2007 00:00:00
Messages: 4
Offline
|
I have NetBeans 5.5 installed and tried installing the ICEfaces VWP support. I installed both the com-icesoft-faces-vwp-ide.nbm and com-icesoft-faces-icefaces-vwp.nbm modules and then imported the ICEfaces Component Suite (EA) (1.5.2) via the Component Library Manager.
I don't see any new components in the palette when in Design view for a new project (ICEfaces was enabled for the project).
When I view the modules in NetBeans via the Module Manager, under Visual Web, ICfaces Project Integration is listed and is active. However, under Libraries, ICEfaces Complib Library is listed but is inactive. There doesn't seem to be a way to make it active. I've tried "Activate All Modules" and there's no effect.
I've completely uninstalled NetBeans and reinstalled from scratch, but get the same results.
Has anyone successfully implemented the component library?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 22/01/2007 17:49:13
|
jyeary
Joined: 14/11/2006 00:00:00
Messages: 8
Offline
|
When you create a VWP project, you will need to add the component library to the project. See the README.html document.
|
| Filename |
complib.gif |
Download
|
| Description |
Component Library Manager |
| Filesize |
29 Kbytes
|
| Downloaded: |
308 time(s) |
|
| Filename |
addcomplib.gif |
Download
|
| Description |
Adding component library to a project |
| Filesize |
7 Kbytes
|
| Downloaded: |
238 time(s) |
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/01/2007 09:54:06
|
havis
Joined: 23/01/2007 00:00:00
Messages: 9
Offline
|
Hi, I've done the job by your suggestions but when I dragh and drop any of ICEFaces component onto the page, I've got following exception:
java.lang.NoClassDefFoundError
at com.icesoft.faces.ide.creator2.util.BasicDesignInfo.class$(BasicDesignInfo.java:65)
at com.icesoft.faces.ide.creator2.util.BasicDesignInfo.addOutputStyle(BasicDesignInfo.java:66)
at com.icesoft.faces.ide.creator2.util.BasicDesignInfo.additionalSetting(BasicDesignInfo.java:55)
at com.icesoft.faces.component.ext.HtmlInputTextDesignInfo.beanCreatedSetup(HtmlInputTextDesignInfo.java:15)
at com.sun.rave.insync.models.FacesModel.beanCreated(FacesModel.java:1060)
at com.sun.rave.insync.FacesDnDSupport.beansCreated(FacesDnDSupport.java:548)
at com.sun.rave.insync.FacesDnDSupport.importBean(FacesDnDSupport.java:508)
at com.sun.rave.insync.FacesDnDSupport.importData(FacesDnDSupport.java:308)
at com.sun.rave.designer.jsf.JsfForm.importData(JsfForm.java:455)
at com.sun.rave.designer.WebForm.importData(WebForm.java:1389)
at com.sun.rave.designer.DndHandler.doImportDataDelayed(DndHandler.java:573)
at com.sun.rave.designer.DndHandler.importDataDelayed(DndHandler.java:416)
at com.sun.rave.designer.DndHandler.access$000(DndHandler.java:121)
[catch] at com.sun.rave.designer.DndHandler$1.run(DndHandler.java:342)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.ClassNotFoundException: com.sun.rave.web.ui.component.Head
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
... 22 more
Any more suggestions?
Thx Tom
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/01/2007 09:54:41
|
havis
Joined: 23/01/2007 00:00:00
Messages: 9
Offline
|
Hi, I've done the job by your suggestions but when I dragh and drop any of ICEFaces component onto the page, I've got following exception:
Code:
java.lang.NoClassDefFoundError
at com.icesoft.faces.ide.creator2.util.BasicDesignInfo.class$(BasicDesignInfo.java:65)
at com.icesoft.faces.ide.creator2.util.BasicDesignInfo.addOutputStyle(BasicDesignInfo.java:66)
at com.icesoft.faces.ide.creator2.util.BasicDesignInfo.additionalSetting(BasicDesignInfo.java:55)
at com.icesoft.faces.component.ext.HtmlInputTextDesignInfo.beanCreatedSetup(HtmlInputTextDesignInfo.java:15)
at com.sun.rave.insync.models.FacesModel.beanCreated(FacesModel.java:1060)
at com.sun.rave.insync.FacesDnDSupport.beansCreated(FacesDnDSupport.java:548)
at com.sun.rave.insync.FacesDnDSupport.importBean(FacesDnDSupport.java:508)
at com.sun.rave.insync.FacesDnDSupport.importData(FacesDnDSupport.java:308)
at com.sun.rave.designer.jsf.JsfForm.importData(JsfForm.java:455)
at com.sun.rave.designer.WebForm.importData(WebForm.java:1389)
at com.sun.rave.designer.DndHandler.doImportDataDelayed(DndHandler.java:573)
at com.sun.rave.designer.DndHandler.importDataDelayed(DndHandler.java:416)
at com.sun.rave.designer.DndHandler.access$000(DndHandler.java:121)
[catch] at com.sun.rave.designer.DndHandler$1.run(DndHandler.java:342)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.ClassNotFoundException: com.sun.rave.web.ui.component.Head
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
... 22 more
Any more suggestions?
Thx Tom
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/01/2007 12:17:59
|
sdoca
Joined: 22/01/2007 00:00:00
Messages: 4
Offline
|
From the readme.html in ICEfaces-v1.5.2-NetBeans-VWP.zip:
Add the ICEfaces Component library to Visual Project
To use the ICEfaces Component Suite in Netbeans VWP in the "Design" editor, you must first Add Component Library to Netbeans VWP Visual web Project.
Once you create a new Visual Web Project, you may:
1. Add Component Library to Componet Libraries Folder under Visual Web Project.
....
How is this to be done? I've tried adding it by looking at the project Properties -> Libraries, but it isn't available in the list of libraries. I think this is because its not active. So I'm back to how do I make the library active?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/01/2007 12:33:19
|
jyeary
Joined: 14/11/2006 00:00:00
Messages: 8
Offline
|
I found that when I looked into the exceptions, I needed to have a number of Jakarta Commons Libraries included like logging, beanutils, and digester. You may want to examine the errors to see if this is the case.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/01/2007 18:09:59
|
sdoca
Joined: 22/01/2007 00:00:00
Messages: 4
Offline
|
SOLVED
For future reference, I figured out how to install the component library in my project. Part of my problem is that I'm new to NetBeans. I've been an Eclipse user for a number of years and am using NetBeans because of the Visual Web Pack. The line in the readme.html
Add Component Library to Componet Libraries Folder under Visual Web Project.
threw me off because I was looking for something called "Visual Web Project". I found these instructions (http://www.netbeans.org/kb/55/vwp-ajaximportcomponents.html) which were much more clear to me:
Adding a Component Library to a Project
1. Open the Visual Web Application project in which you want to use the component library's components.
Note: If the components are JavaServer Faces 1.2 components, the project must use a server that supports this level of JavaServer Faces technology. For example, if you use Sun Java System Application Server 9.0 and Java EE 5, both JavaServer Faces 1.2 and JavaServer Faces 1.1 components are supported.
2. In the Projects window, open the main project node and right-click the Component Libraries node.
3. Choose Add Component Library.
....
May I suggest that the readme.html be updated with instructions similar to those quoted? However, I'm just glad to have the solution...
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 24/01/2007 02:18:46
|
havis
Joined: 23/01/2007 00:00:00
Messages: 9
Offline
|
Hi sdoca.
I'm still not able to solve this problem. I have my VWP project set as main project but i cannot see any Component Libraries node in project tree. I can see only Libraries node. I've tried to put icefaces-webui_217 library onto the project, but with no effect. Can you send me some screenshot how to do this job?
Screenshot with my project tree follows.
|
| Filename |
project-tree.png |
Download
|
| Description |
VWP project tree with add library dialog. |
| Filesize |
16 Kbytes
|
| Downloaded: |
157 time(s) |
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 24/01/2007 02:55:42
|
havis
Joined: 23/01/2007 00:00:00
Messages: 9
Offline
|
jyeary,
I've put some required Jakarta Commons (most of them for required for JSF) but with no effect. I'm getting still the same exception.
Any more ideas?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 24/01/2007 08:36:54
|
jyeary
Joined: 14/11/2006 00:00:00
Messages: 8
Offline
|
Are you using Sun Java System Application Server 9.x (Project Glassfish)? If so, I have been completely unsuccessful with it. I have been able to use it with Apache Tomcat which is what they did their testing on.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 24/01/2007 09:50:58
|
sdoca
Joined: 22/01/2007 00:00:00
Messages: 4
Offline
|
Hi Havis,
Setting the project as main is irrelevant to the issue. Mine is not set as main. Here's a snapshot of my project tree...
|
| Filename |
Project.png |
Download
|
| Description |
Snapshot of project tree showing Component Libraries. |
| Filesize |
173 Kbytes
|
| Downloaded: |
163 time(s) |
|
|
|
 |
|
|