p:dialog + pe:layout strange behavior (pf-extensions)

Community Driven Extensions Project
Post Reply
liukvar
Posts: 43
Joined: 21 Oct 2009, 09:52

15 May 2012, 14:52

Hi,
We are evaluating several technologies for the realization of our projects and in particular the UI frameworks. Previously we used Backbase JSF edition, for the ability to have windows. Backbase is now obsolete, and we need to choose another Framework. The options are PrimeFaces and Ext.js.
With Ext.js is not a problem to use windows, but we prefer to stay with JSF.
I think ''Dialog' widget (with modal = "false") is perfect for our needs, but we also need to divide/split the contents of the Dialog.
I used the following code:

Code: Select all

<p:dialog modal="false" widgetVar="testDialog" header="Window Header" width="420" height="420">
   <pe:layout fullPage="false" style="width:400px; height:400px;" state="#{layoutController.stateOne}">
         <pe:layoutPane position="west" size="150" minSize="40" maxSize="300"> 
           Left 
          </pe:layoutPane>
          <pe:layoutPane position="center"> 
             Center 
           </pe:layoutPane>
   </pe:layout>
 </p:dialog>
The problem is that when I try to resize the dialog, it disappears during the mouse drag.
Have you also had the same problem? I would be very grateful if you could help me.

Thank you,
Luke
PrimeFaces 5.1.6
Mojarra 2.2.8
WildFly 8.2
Eclipse Luna
JDK 8

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

15 May 2012, 19:01

To be honest I have never tried pe:layout in p:dialog. Have you tried to use p:layout in dialog instead of pe:layout? How does it behave?
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

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests