p:layoutUnit position="?"

UI Components for JSF
Post Reply
madmis
Posts: 19
Joined: 13 Sep 2011, 18:00
Location: Ukraine => Kiyv

02 Dec 2011, 15:34

Sample from primefaces_users_guide_3M4

Code: Select all

<p:layout style="width:400px;height:200px">
	 <p:layoutUnit position="left" width="100">
		 <h:outputText value="Left Pane" />
	 </p:layoutUnit>
					
	 <p:layoutUnit position="center">
		 <h:outputText value="Right Pane" />
	 </p:layoutUnit>
</p:layout>
position="left" & position="center"

Sample from ShowCase - http://www.primefaces.org/showcase-labs ... lement.jsf

Code: Select all

<p:layout style="min-width:400px;min-height:200px;" id="layout">  
    <p:layoutUnit position="west" resizable="true" size="100" minSize="40" maxSize="200">  
        Left  
    </p:layoutUnit>  
  
    <p:layoutUnit position="center">  
        Center  
    </p:layoutUnit>  
</p:layout>  
position="west" & position="center"

What values can has "position" in primefaces-3.0.M4?
NetBeans 7.0.1, apache-tomcat-6.0.32, Java EE 6, Mojarra 2.1.4 (JSF 2.1), primefaces-3.0.M4, apache-tomcat-6.0.32

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

02 Dec 2011, 17:31

What does the rest of the docs say? North,east,south,west, right? (pun intended) so give it a quick try, it's not like it is rocket sience to creat a page like that and see what works...

madmis
Posts: 19
Joined: 13 Sep 2011, 18:00
Location: Ukraine => Kiyv

02 Dec 2011, 17:38

kukeltje wrote:What does the rest of the docs say? North,east,south,west, right? (pun intended) so give it a quick try, it's not like it is rocket sience to creat a page like that and see what works...
Ok. Thank you.

I work with jquery layout, but also i work with openfaces, so a little confused.
NetBeans 7.0.1, apache-tomcat-6.0.32, Java EE 6, Mojarra 2.1.4 (JSF 2.1), primefaces-3.0.M4, apache-tomcat-6.0.32

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

02 Dec 2011, 17:48

Just out of curiosity, what doe jquery and openfaces have to do with your initial question?

madmis
Posts: 19
Joined: 13 Sep 2011, 18:00
Location: Ukraine => Kiyv

02 Dec 2011, 17:54

kukeltje wrote:Just out of curiosity, what doe jquery and openfaces have to do with your initial question?
primefaces layout works on jquery layout.
Openfaces i don't now, but there position - left, center without - west, north. It's a bit knocked me up.

Sorry for my english.
NetBeans 7.0.1, apache-tomcat-6.0.32, Java EE 6, Mojarra 2.1.4 (JSF 2.1), primefaces-3.0.M4, apache-tomcat-6.0.32

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Dec 2011, 10:06

Docs are fixed, check out docs of 3.0.RC2. There was errata.

madmis
Posts: 19
Joined: 13 Sep 2011, 18:00
Location: Ukraine => Kiyv

23 Dec 2011, 10:22

optimus.prime wrote:Docs are fixed, check out docs of 3.0.RC2. There was errata.
OK. Thanks.
NetBeans 7.0.1, apache-tomcat-6.0.32, Java EE 6, Mojarra 2.1.4 (JSF 2.1), primefaces-3.0.M4, apache-tomcat-6.0.32

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Dec 2011, 10:23

You are welcome.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Mordets and 12 guests