Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
384 views
in Technique[技术] by (71.8m points)

java - Where is Visual Web Editor for JavaServer Faces on Netbeans

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 and the 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?

Also this tutorial shows this screenshot:

enter image description here

Have both the frameworks been integrated into one? If so, how can I access this design screen?

Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

That's the UI editor of the already since ~3 years dead and abandoned Woodstock library . That library became an epic failure due to an bug which revealed when Firefox 3 was 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.

Since then, users were recommended to 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:

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.

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 much harder for starters, because they don't understand any line of the generated code. It also unnecessarily gave JSF in general a negative imago.

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.org instead (using a normal code editor!). You can find them all here. With regard to learning JSF in general, start at our JSF wiki page for a Hello World and useful links.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...