Switching to p:layout for mattinale page.