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> ...

Get Practical RichFaces, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.