| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/12/2007 07:00:48
|
GuntherD
Joined: 09/09/2007 00:00:00
Messages: 10
Offline
|
Hi,
I'm having a problem with the Icefaces integration for Netbeans 6.0. It isn't really a problem, but more a nuissance. When I drop a commandbutton or commandlink on the designer, and then try to edit the java code by double clicking or right-clicking the button, the corresponding action-event code in the backing bean isn't created automatically (as it is in a regular visual web project).
As I said, more of a nuissance then a problem, as you can always add the code manually, but the strange thing is that this only seems to happen with certain components. Double clicking on an inputtext component for instance does automatically open up the Java editor and adds the necessary code.
Also, when I try to add the action-tags in the properties-pane for a commandbutton, it doesn't accept this. Again, minor nuissance since I can always add this in the JSP editor directly, but even after doing this, it doesn't show up in the properties pane.
Am I the only one experiencing this, or does anybody else have this problem? I'm using Netbeans 6.0, the 1.6.1. runtime libraries for Netbeans and the project integration plugin. When starting a new project, I select Icefaces visual web project.
Regards,
GuntherD
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/12/2007 08:31:46
|
athermughal
Joined: 16/08/2007 00:00:00
Messages: 3
Offline
|
I am facing a similar problem. Any solution???
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/12/2007 12:19:02
|
frank.ye
Joined: 26/10/2004 00:00:00
Messages: 412
Offline
|
Could see the same problem with jsf 1.2 (j2ee1.5).
created jira for this one:
http://jira.icefaces.org/browse/ICE-2480
thanks for pointing out.
In the mean time, If you do not use jsf 1.2, you could try the jsf 1.1 with Tomcat 5.5 server.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 09/12/2007 23:48:23
|
amersohail794
Joined: 23/11/2007 00:00:00
Messages: 33
Offline
|
I don't have such type of problem in netbeans. There may be some problem with your netbeans installation. I am perfectly achieving same behaviour as in Visual Web Pack for Project Woodstock.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 14/01/2008 15:32:50
|
choywk
Joined: 13/01/2008 00:00:00
Messages: 1
Offline
|
I encountered the same problem with the ICEfaces button on NetBeans visual designer.
As a side note, I have come to realize integrating JSF components in an IDE visual designer is still the holy grail in Java IDE. I have tried ICEfaces visual designer on NetBeans and Eclipse and found the visual designer support for ICEfaces on these IDE are rudimentary -- I still have to do a lot of manual coding. The default JSF Components that comes with NetBeans 6.0 (ie. sun-rave) still does not have as many components or features as compared to ICEfaces.
Oracle ADF Faces has an extensive range of components and features and the visual designer is very well integrated in JDeveloper. In fact, in my opinion, ADF Faces on JDeveloper is the best integrated JSF components visual designer in the market. The down side is ADF Faces does not yet integrate well with other IDE visual designers.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 17/01/2008 12:55:43
|
gmnbo
Joined: 14/11/2006 00:00:00
Messages: 2
Offline
|
I have the same problem. In fact NetBeans throws this exception:
java.lang.NullPointerException
at org.netbeans.modules.visualweb.insync.faces.MethodBindEvent.getHandlerName(MethodBindEvent.java:99)
at org.netbeans.modules.visualweb.insync.faces.MethodBindEvent.<init>(MethodBindEvent.java:66)
at org.netbeans.modules.visualweb.insync.faces.MethodBindEventSet.bindEvents(MethodBindEventSet.java:160)
at org.netbeans.modules.visualweb.insync.faces.MethodBindEventSet.<init>(MethodBindEventSet.java:109)
at org.netbeans.modules.visualweb.insync.faces.FacesBean.newCreatedEventSet(FacesBean.java:296)
at org.netbeans.modules.visualweb.insync.beans.Bean.setEventSet(Bean.java:524)
at org.netbeans.modules.visualweb.insync.live.BeansDesignEvent.ensureEventSet(BeansDesignEvent.java:91)
at org.netbeans.modules.visualweb.insync.live.BeansDesignEvent.initEvent(BeansDesignEvent.java:110)
at org.netbeans.modules.visualweb.insync.live.BeansDesignEvent.setHandlerName(BeansDesignEvent.java:130)
at org.netbeans.modules.visualweb.insync.models.FacesModel.createEventHandler(FacesModel.java:1369)
at org.netbeans.modules.visualweb.insync.models.FacesModel.openEventHandler(FacesModel.java:1327)
at org.netbeans.modules.visualweb.insync.models.FacesModel.openDefaultHandler(FacesModel.java:1319)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.editEventHandlerForComponent(JsfForm.java:2699)
at org.netbeans.modules.visualweb.designer.jsf.ui.JsfDesignerListener.editEventHandler(JsfDesignerListener.java:229)
at org.netbeans.modules.visualweb.designer.jsf.ui.JsfDesignerListener.handleUserAction(JsfDesignerListener.java:168)
at org.netbeans.modules.visualweb.designer.jsf.ui.JsfDesignerListener.handleUserAction(JsfDesignerListener.java:137)
at org.netbeans.modules.visualweb.designer.jsf.ui.JsfDesignerListener.userActionPerformed(JsfDesignerListener.java:93)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:449)
Caused: java.lang.reflect.UndeclaredThrowableException
at $Proxy25.userActionPerformed(Unknown Source)
at org.netbeans.modules.visualweb.designer.WebForm.fireUserActionPerformed(WebForm.java:3187)
at org.netbeans.modules.visualweb.designer.InlineEditor.checkInitialDoubleClick(InlineEditor.java:646)
at org.netbeans.modules.visualweb.designer.FormComponentEditor$Handler.mouseClicked(FormComponentEditor.java:636)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5520)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thanks
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/01/2008 09:47:48
|
mithridates
Joined: 18/12/2007 00:00:00
Messages: 3
Offline
|
Im facing the same problem.
I'd love to use ICEfaces instead of Woodstock but there is no way getting it working for me.
@amersohail794
Could you please specifiy that?
I don't have such type of problem in netbeans. There may be some problem with your netbeans installation. I am perfectly achieving same behaviour as in Visual Web Pack for Project Woodstock.
I did a clean install (complete) on a linux-machine. No other problems than that.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/01/2008 12:13:46
|
gmnbo
Joined: 14/11/2006 00:00:00
Messages: 2
Offline
|
I wonder why is it taking so long from any one in the ICEFaces team to answer this question? It is a very simple task, just drop a button and try to add an action event, that's it!!!. Even if they think that all these people are doing something wrong and their product is perfect, they should say that. Why making the product free at the very beginning?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/01/2008 17:42:42
|
frank.ye
Joined: 26/10/2004 00:00:00
Messages: 412
Offline
|
If you select J2ee 1.4, and using Tomcat 6.0. The action attribute works as expected since it is using JSF 1.1.
This exception is related to JSF 1.2 design time where a action handler is used. We are currently working on a new bundle ...
thanks for your interestes,
Frank
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 21/01/2008 03:14:09
|
mithridates
Joined: 18/12/2007 00:00:00
Messages: 3
Offline
|
J2EE is no option for us, as we are developing EE 5 on glassfish.
Can You provide a schedule for the new bundle?
We are currently redesigning our applications and it would be great, if we could use ICEfaces for the UI in NB6 now.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 21/01/2008 14:24:15
|
ken.fyten
Joined: 26/10/2004 00:00:00
Messages: 333
Offline
|
The ICEfaces 1.7 NetBeans integration will offer improved support for JSF 1.2 projects. Current plan is deliver this in late February.
We are currently working through these issues and will update this thread if useful workarounds are identified (other than using JSF 1.1 in your project).
Sorry for any inconvenience this may cause.
Regards,
Ken
|
Ken Fyten
VP Product Development
ICEsoft Technologies, Inc. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 22/01/2008 02:10:04
|
mithridates
Joined: 18/12/2007 00:00:00
Messages: 3
Offline
|
Thanks for the info.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 08/02/2008 02:34:30
|
sitaramaraju
Joined: 03/02/2008 00:00:00
Messages: 1
Offline
|
Hi All,
Previously i used Toolbar in flex ,with icefaces which component i have to select (like same as toolbar in flex)..I have a 4 buttons and have to put the all the buttons into a single component ,with which component i will get the rich look...
Thanks
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/03/2008 04:23:06
|
thorman
Joined: 18/01/2008 00:00:00
Messages: 42
Offline
|
Hello Gunther,
I haven't worked with IceFaces before and don't really know how this generated code should look.
Could you post an example of what is need ?
It would help a lot until the fix is released.
I guess it is some attribute to the button tag & some kind of connection code in the controller class.
Thanks for any help.
// Mikael
GuntherD wrote:
Hi,
I'm having a problem with the Icefaces integration for Netbeans 6.0. It isn't really a problem, but more a nuissance. When I drop a commandbutton or commandlink on the designer, and then try to edit the java code by double clicking or right-clicking the button, the corresponding action-event code in the backing bean isn't created automatically (as it is in a regular visual web project).
As I said, more of a nuissance then a problem, as you can always add the code manually, but the strange thing is that this only seems to happen with certain components. Double clicking on an inputtext component for
instance does automatically open up the Java editor and adds the necessary code.
Also, when I try to add the action-tags in the properties-pane for a commandbutton, it doesn't accept this. Again, minor nuissance since I can always add this in the JSP editor directly, but even after doing this, it doesn't show up in the properties pane.
Am I the only one experiencing this, or does anybody else have this problem? I'm using Netbeans 6.0, the 1.6.1. runtime libraries for Netbeans and the project integration plugin. When starting a new project, I select Icefaces visual web project.
Regards,
GuntherD
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/03/2008 10:14:29
|
masterc
Joined: 30/05/2007 00:00:00
Messages: 1
Offline
|
Hello,
I installed NetBeans 6.0 and install ICEfaces-1.6.2-libs-NetBeans6 and ICEfaces-NetBeans6-IDE-v3.0.0.1 and after that created a Visual Web ICEfaces project
And ran the project and got the following errors.I omitted the stack trace for convenience.It is better to say in the past ,my VWP project worked but now neither VWP project nor ICEfaces project run.What must i do?
executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@17467e5) threw exception
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableMap.remove(Collections.java:1288)
at com.icesoft.faces.application.D2DViewHandler.createView(D2DViewHandler.java:181)
at com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java:777)
|
|
|
 |
|
|