O'Reilly logo

Practical RichFaces, Second Edition by Ilya Shaikovsky, Max Katz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  10

Rich Drag-and-Drop Components

Being able to drag and drop items inside a browser is cool and becoming an important feature. RichFaces provides a set of features that enable you to drag and drop almost any JSF component. The available drag-and-drop components provide everything you need, so you won't have to deal with any JavaScript. Although drag-and-drop is happening on the client side, RichFaces allows binding drag-and-drop events to server-side listeners. Another thing to keep in mind is that drag-and-drop components are actually just functional components (similar to the Core tag library in JSF), so they don't provide a lot in terms of UI, only the functionality to drag-and-drop other components.

Using <rich:dragSource> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required