Problem with <pe:layout> in 0.6.0 SNAPSHOT

Community Driven Extensions Project
Post Reply
ds_dev
Posts: 19
Joined: 27 Oct 2011, 10:03

18 Sep 2012, 09:29

Hi,

I'm facing some issues with the <pe:layout> component. I know it's still a snapshot and may be fixed upon release but just in case here are the problems :

1) It seems it is not possible to use nested <pe:layoutPane> in the north position. From what I've seen, this could be related to the tabbed layout behaviour.
2) It also seems it is not possible to use multi level of nested <pe:layoutPane>. The first level of nested layout works just fine but after that it does not seem to work any more.

Here is an example where the two snippets give the same result although they should not:

Code: Select all

<pe:layout id="fullPage" widgetVar="fpLayoutWidget">
 <pe:layoutPane position="north" size="'25%'" />
 <pe:layoutPane position="center">
  <pe:layoutPane position="north" size="'25%'" />
  <pe:layoutPane position="center">
   <pe:layoutPane position="north" size="'25%'" />
   <pe:layoutPane position="center">
   </pe:layoutPane>
  </pe:layoutPane>
 </pe:layoutPane>
</pe:layout>

<pe:layout id="fullPage" widgetVar="fpLayoutWidget">
 <pe:layoutPane position="north" size="'25%'" />
 <pe:layoutPane position="center">
  <pe:layoutPane position="north" size="'25%'" />
  <pe:layoutPane position="center">
  </pe:layoutPane>
 </pe:layoutPane>
</pe:layout>

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

18 Sep 2012, 09:54

Yes, these are limitation in the current implementation. I'm re-implementing Layout just now. It will not have these limitations + you will be able to update nested layouts with AJAX.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

ds_dev
Posts: 19
Joined: 27 Oct 2011, 10:03

18 Sep 2012, 10:14

Thank you for the answers. Glad to hear that! The new implementation should be great.

Really appreciate your work!

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests