Time for action – creating a Dashboard layout
Let us see how to create a Dashboard layout component:
- 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" /> <...