O'Reilly logo

PrimeFaces Beginner's Guide by K. Siva Prasad Reddy

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

Creating portal like layout using a Dashboard component

Dashboard is layout component that provides portal like layout with drag-and-drop feature to rearrange its UI widgets as per user choice.

To create a Dashboard layout we need to create a custom model object of type org.primefaces.model.DashboardModel. We can create multiple panel widgets and group them by adding to org.primefaces.model.DashboardColumn, which in turn should be added to DashboardModel.

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