layout width:100%

UI Components for JSF
Post Reply
eldjon
Posts: 14
Joined: 13 Mar 2011, 11:00

13 Mar 2011, 11:11

im a new user of primefaces. right now im having some trouble on customizing primeface layout element. im trying to do sth like:
<p:layout style=" width:100%; height:100%" ></p:layout>
however there is a problem with the positioning of layoutUnit. if i say :
<p:layoutUnit position="right" > </p:layoutUnit>
it actually doesnt position on the real right, but just on top of the left layoutUnit.
any idea?
Primefaces 3.0.M3
JSF 2.0
Glassfish 3.1

Romep
Posts: 3
Joined: 12 Mar 2011, 13:34

13 Mar 2011, 13:00

I think you should use <p:layout fullPage="true">. Look at the Showcase!

eldjon
Posts: 14
Joined: 13 Mar 2011, 11:00

14 Mar 2011, 09:45

ive seen it. but i cant use fullpage attribute because i have some other elements at the top of the page which i dont want to include to the layout
Primefaces 3.0.M3
JSF 2.0
Glassfish 3.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 53 guests