java Netbeans 上 JavaServer Faces 的可视化 Web 编辑器在哪里
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2631130/
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
Where is Visual Web Editor for JavaServer Faces on Netbeans
提问by Kiada
I'm currently following a tutorial in a book, and it instructs to create a Java Web App with the Visual JavaServer Faces framework. The screenshot in the book shows both the JavaServer Faces framework andthe extra Visual JavaServer Faces framework. I can't seem to find the plugin / download in the netbeans plugin page, or when I google it. Has this feature been removed?
我目前正在学习一本书中的教程,它指示使用 Visual JavaServer Faces 框架创建 Java Web 应用程序。书中的屏幕截图显示了 JavaServer Faces 框架和额外的 Visual JavaServer Faces 框架。我似乎无法在 netbeans 插件页面中找到插件/下载,或者当我谷歌它时。是否已删除此功能?
Also this tutorialshows this screenshot:
此外本教程显示这个截图:


Have both the frameworks been integrated into one? If so, how can I access this design screen?
这两个框架是否已合二为一?如果是这样,我如何访问此设计屏幕?
Thanks
谢谢
回答by BalusC
That's the UI editor of the already since ~3 years dead and abandoned Woodstocklibrary . That library became an epic failure due to an bug which revealed when Firefox 3was released. It turned out that the library generates non-standards compliant Javascript which broke in the newer and more standards-compliant browsers. It was a hard smack in Woodstock's face.
那是已经死了大约 3 年的伍德斯托克图书馆的 UI 编辑器。由于Firefox 3发布时发现的一个错误,该库成为了一场史诗般的失败。事实证明,该库生成了不符合标准的 Javascript,它在更新且更符合标准的浏览器中被破坏了。伍德斯托克的脸上狠狠打了一顿。
Since then, users were recommendedto migrate to ICEfaces 1.x. There's an auto-migration tool for ICEfaces. ICEfaces in turn has a visual editor plugin for Netbeans. The visual editor has been removed from Netbeans since version 6.8. See also wiki.netbeans.org/VisualWebSupport:
从那时起,建议用户迁移到ICEfaces 1.x。ICEfaces 有一个自动迁移工具。ICEfaces 又为 Netbeans 提供了一个可视化编辑器插件。自 6.8 版以来,可视化编辑器已从 Netbeans 中删除。另请参阅wiki.netbeans.org/VisualWebSupport:
VisualWebSupport
Where can I find the Visual Web Pack with Visual Editor support for web page design?
Starting from NetBeans 6.8, the Visual Web module is no longer available. No further development is planned.
视觉网络支持
在哪里可以找到支持网页设计的可视化编辑器的可视化 Web 包?
从 NetBeans 6.8 开始,Visual Web 模块不再可用。没有进一步的开发计划。
Another fact is, using visual editors with code generators is strongly discouraged in the professional development world. They were often used by starters only and it produces unmaintainable and unreuseable code to a high degree. On the other hand, it makes debugging and nailing down code-level problems muchharder for starters, because they don't understand any line of the generated code. It also unnecessarily gave JSF in general a negative imago.
另一个事实是,在专业开发领域,强烈建议不要使用带有代码生成器的可视化编辑器。它们通常仅供初学者使用,并且在很大程度上产生了不可维护和不可重用的代码。另一方面,对于初学者来说,它使调试和确定代码级问题变得更加困难,因为他们不理解生成代码的任何行。它也不必要地给了 JSF 一般一个负面的形象。
If you're new to coding, don't drag'n'drop code, but just write code.
如果您不熟悉编码,请不要拖放代码,而要编写代码。
If you like to develop JSF on Netbeans, I recommend walking through the latest tutorials at Netbeans.orginstead (using a normal code editor!). You can find them all here. With regard to learning JSF in general, start at our JSF wiki pagefor a Hello World and useful links.
如果您喜欢在 Netbeans 上开发 JSF,我建议您浏览Netbeans.org 上的最新教程(使用普通代码编辑器!)。你可以在这里找到它们。关于一般的 JSF 学习,请从我们的 JSF wiki 页面开始,了解 Hello World 和有用的链接。

