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
.