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

Time for action – creating a Dashboard layout

Let us see how to create a Dashboard layout component:

  1. Create a Dashboard Layout using <p:dashboard>.
    <p:dashboard id="board" model="#{dashboardController.model}"> <p:panel id="twitter" header="Twitter"> <h:outputText value="Twitter feed" /> </p:panel> <p:panel id="facebook" header="Facebook"> <h:outputText value="Facebook feed" /> </p:panel> <p:panel id="youtube" header="YouTube"> <h:outputText value="YouTube Videos" /> </p:panel> <p:panel id="dzone" header="DZone"> <h:outputText value="DZone Posts" /> </p:panel> <p:panel id="jcg" header="Java Code Geeks"> <h:outputText value="JavaCodeGeeks Posts" /> </p:panel> <p:panel id="linkedIn" header="LinkedIn"> <h:outputText value="LinkedIn Content" /> </p:panel> ...

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