Problems with Layout

UI Components for JSF
Post Reply
tdc
Posts: 2
Joined: 05 Aug 2011, 08:43

05 Aug 2011, 13:56

Hi all

First of all, excuse my english :oops:

i'm a beginner in Java and start now in JSF. Then i found this nice Framework.
now my problem:

i use templates to create my homepage.
with ui:composition in the index file, is the master template loaded.
inside of the master file i have my <p:layout> with 3 <p:layoutunit> (Top, Center, Left).
all this is with <center> in the middle of the screen.
know if i "put" a file with <ui:incude src="top.xhtml" /> in the top layoutunit, the page is no longer in the middle of the screen. So <center> is absolutly useless!
without primefaces this works normaly. Is there a chance to get the Layout back in the middle?

OT: Why did align: center no longer work (also without primefaces)

And in my first test project the edges are round, in the other they aren't?? the files was exactly the same (copy paste)!


i hope someone can help my.

Thank you very much!

cheers
TdC

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 55 guests