JSF Eclipse 设计器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1971629/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
JSF Eclipse Designer
提问by Nir Levy
Is there any Eclipse plugin that will allow me to do a Visual Studio like drag-and-drop for JSF components on a web page? So I won't have to write <f:input...>
and the tool would just create this code for me?
是否有任何 Eclipse 插件可以让我在网页上为 JSF 组件执行类似拖放操作的 Visual Studio?所以我不必编写<f:input...>
并且该工具只会为我创建此代码?
If not eclipse, are there are other options?
如果不是eclipse,还有其他选择吗?
(I do not plan to actually use something like this but I do need to know).
(我不打算实际使用这样的东西,但我确实需要知道)。
回答by VonC
Mat be the JSF page Designer(or now "Web Page Editor") could do what you want?
It is illustrated in this myeclipse page
Mat 是JSF 页面设计器(或现在的“网页编辑器”)可以做您想做的事吗?
它在这个myeclipse 页面中有说明
(source: myeclipseide.com)
(来源:myeclipseide.com)
As mentioned in this thread, you can make the Visual Page Designer the default editor for JSP pages
如本主题所述,您可以将可视化页面设计器设为 JSP 页面的默认编辑器。
The JSF Tools Project-contributed Web Page Editor is NOT registered as the default editor for JSP files.
You can make the WPE the default editor for JSP files by following these steps:
JSF 工具项目贡献的网页编辑器未注册为 JSP 文件的默认编辑器。
您可以按照以下步骤使 WPE 成为 JSP 文件的默认编辑器:
- Navigate to
"Window" -> "Preferences..." -> "General" -> "Editors" -> "File Associations"
- In the "
File types
" section, select "*.jsp
" - In the "
Associated editors
" section, select "Web Page Editor
" - Select the "
Default
" button
- 导航
"Window" -> "Preferences..." -> "General" -> "Editors" -> "File Associations"
- 在“
File types
”部分,选择“*.jsp
” - 在“
Associated editors
”部分,选择“Web Page Editor
” - 选择“
Default
”按钮
回答by Svetoslav Marinov
The best for you is WPE in Eclipse. Read this http://www.eclipse.org/webtools/jsf/docs/tutorial/JSFTools_1_0_tutorial.html
最适合您的是 Eclipse 中的 WPE。阅读这个http://www.eclipse.org/webtools/jsf/docs/tutorial/JSFTools_1_0_tutorial.html