Primefaces Panel Header

UI Components for JSF
Post Reply
omoz4real
Posts: 14
Joined: 27 Dec 2009, 01:58
Location: Aberdeen, Scotland. United Kingdom
Contact:

20 Sep 2010, 16:00

Hi Everyone,

This is somehow a very novice question but I have tried everything I could without the desired result. I was thinking to to create a p:panel or something similar to the header which always appear on the primefaces showcase like "Welcome to Primefaces Showcase" header and always appear at the begining of each page as the header in the primefaces showcase website. I have tried using the p:panel but it gives something different with borders. Please How can I achieve this? what componet am I suppose to use?

Thanks.
Omos.

User avatar
michiel
Posts: 240
Joined: 07 Jun 2010, 09:12
Location: Belgium

20 Sep 2010, 16:13

this is not a Component, just some (x)html:

Code: Select all

<h1 class="title ui-widget-header ui-corner-all">Welcome to PrimeFaces ShowCase</h1>
style:

Code: Select all

h1{
   font-weight: normal;
   margin-top: 0;
   font-size: 1.6em;
}

.title {
   height: 30px;
   margin-left: 10px;
   padding: 8px 0 0 20px;
}
if I'm right, the code of the show-case is online in the PrimeFaces Repository
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)

omoz4real
Posts: 14
Joined: 27 Dec 2009, 01:58
Location: Aberdeen, Scotland. United Kingdom
Contact:

20 Sep 2010, 16:30

Thanks. I think you are right.

I am just going to check it out and I think it would work.

Thanks. very much appreciated.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 47 guests