问题
I recently installed netbeans 6.9, but VisualJSF Design view was not available in it. I Googled and it seems design view is not available after version 6.7.1. So I downloaded that version, but now I still dont have the design view.
Does anyone know how to enable design view, or is there any other option to design the UI like we do using design view?
回答1:
From here: http://forums.netbeans.org/ptopic37586.html
NetBeans 6.7.1 was the last version with support for the visual desinger. Be aware that you will able to visually work with JSF files, not plain JSP.
Maybe, Using Netbeans 6.9.1, you could check the following out:
There is a plugin called 'Web Preview' that will open the file in your external browser for a preview and allow you to immediately see the changes you make (after refreshing the browser).
But as far as I'm aware there isn't a WYSIWYG web page designer, and I can't seem to find one in the Plugins after a 'quick' search in Google.
Maybe you could look here for alternatives: https://stackoverflow.com/questions/5833/looking-for-wysiwyg-html-editor
回答2:
You can enable VisualJSF in NetBeans 6.7.1 by doing the following:
- Go to Tools --> Plugins
- Select the Available Plugins tab.
- Choose
Visual JSF
,Visual JSF Runtime
, andVisual Web JSF Backwards Compatibility Kit
from the plugins list. - Install the plugins.
- Create a new project Java Web --> Web Application --> Choose Visual Web JavaServerFaces and a visual design time view will appear.
回答3:
Choose "java desktop application" from New Project menu, not java class. Just guessing your problem, I'm not sure why you're not seeing it. I'm using 6.9 for a GUI.
来源:https://stackoverflow.com/questions/5575078/netbeans-visualjsf-woodstock-design-view-not-available-in-6-7-1