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.
I can not right click input components such as text box, drop down list, radio button, etc... and get a context menu. I can however right click static text, label, page, etc... and get the context menu. If I go to the outline pane and try right clicking components there, the same problem happens. I didn't have this problem in the past. See this message from the nbusers mailing list: http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=88602 This guy doesn't have the problem, but he is not using the latest version of the VWP. Since this seems to be a new issue for me, I wonder if the problem started happening with the latest VWP release. I find this a crippling problem. I use the context menus for data bindings, to create validator events, value change listeners, etc... I've tried re-installing everything yesterday and still have the problem. I'm now using: NetBeans 5.5 200612070100, Visual Web Pack 070104_2, Ent Pack 20061212 on Windows XP Pro, JDK 1.5.0_11.
Note that I always remove the style="" tag which has absolute positioning, and cut/paste the <webuijsf:*> components into the correct place in my HTML layout (inside of div tags, tables, etc). I am aware that when you click a component sometimes it will select the table cell or div rather than the component. If you click several times eventually you can see the component is selected, and it's properties show up in the properties window.
Hi, I just tried it on current build (I am on linux), and it is working fine. Anyway, QE is going to try it to reproduce it on the provided configuration. If you could specify the steps more preciselly (the removal of the style property, moving into div, table), please do. Thanks.
I created a new Visual Web project and tried, it appears to be working. I don't really know what to say about steps. How about we arrange a time for one of the VWP QA people or developers to VNC into my computer and investigate? I am unable to give you the project. One interesting point is that I have a whole bunch of <h:panelGroup rendered="some EL"> </h:panelGroup> so that I can remove entire sections of the page for PDA users. I have PC and PDA users accessing the same JSP files. I have also neutered the theme so it does not force any CSS or JavaScript on my app, and I have manually added the bits of CSS I need to stylesheet.css. When you look at my webpages in the visual designer they look awful but that is probably because of the panelGroups and theme?
Let wait for Krys (the QE person). She is gonna try it out on that platform. If she won't be able to reproduce it then we could try to arrange that hook up. In the mean time, could you, please, have a look if you get some exceptions into the log file when trying to invoke the popup? If yes, attach the log.
OMG it's not happening right now. I have been having this problem for weeks, and even today. I'm not sure what is different. I'll keep you posted over the next couple of days if/when it happens again.
Created attachment 40377 [details] My messages.log in case you are interested. There are a number of exceptions that mention rave (VWP?)
Thanks for adding the log file. It seems there are more issues. Anyway, I looked at the one saying the css is invalid. The exception message is not very helpful, but from the code I was able to find out, that the problem seems to be that in some of your css files, there is a '#' char followed by 'non-CSS' character. Could you please check that? Then there are also issues with instantiating some classes (coming from insync), thinking to pass it there first. But none of the above might be connected to the popup invocation. So there are no exceptions added to the log file when you try (unsucessfuly) invoke the popup? It seems that Krys can't reproduce it. We might try to hook up.
We didn't get to the cause, and now it seems it is working. Marking it as not reproducible for now.
It's happening again, here is the exception from my log: *********** Exception occurred ************ at 11:35 AM on Apr 4, 2007 java.lang.NoClassDefFoundError at com.sun.webui.jsf.design.AbstractDesignInfo.getContextItems(AbstractDesignInfo.java:353) at com.sun.rave.insync.action.DesignBeanContextAction.getDisplayActions(DesignBeanContextAction.java:40) at com.sun.rave.insync.action.AbstractDisplayActionAction.isEnabled(AbstractDisplayActionAction.java:83) at com.sun.rave.spi.designtime.idebridge.action.AbstractDesignBeanAction$DelegateAction.resultChanged(AbstractDesignBeanAction.java:201) at com.sun.rave.spi.designtime.idebridge.action.AbstractDesignBeanAction$DelegateAction.<init>(AbstractDesignBeanAction.java:148) at com.sun.rave.spi.designtime.idebridge.action.AbstractDesignBeanAction.createContextAwareInstance(AbstractDesignBeanAction.java:71) at org.openide.util.Utilities.actionsToPopup(Utilities.java:2609) at com.sun.rave.designer.DesignerTopComp.showPopupMenu(DesignerTopComp.java:1402) at com.sun.rave.designer.InteractionManager$MouseHandler.mousePressed(InteractionManager.java:1630) at java.awt.Component.processMouseEvent(Component.java:5498) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5266) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3968) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] 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) Do you need to VNC into my box to see this? If so, please contact me via email to make arrangements.
> Anyway, I looked at the one saying the css is invalid. The exception message is > not very helpful, but from the code I was able to find out, that the problem > seems to be that in some of your css files, there is a '#' char followed by > 'non-CSS' character. Could you please check that? I had a look and don't see anything that I think is wrong after # characters, however at the very beginning of the file I found an english word just before a comment. I wonder if the editor was opened while I was typing and some text made it into my CSS. I've removed the word and saved.
Thanks for the last report with the exception, it shows a bit closer the problem why the popup was not constructed. Unfortunately it doesn't reveal the cause entirely (which class was not found). Anyway, it is in the component area. Passing there.
I tried to reproduce this with NB 6.0 M9 and could not reproduce it. Let me know if this is reproducible.