Dialog Enhancements

Dialog component has received major update for M3 and reimplemented as a native PrimeFaces widget. Old Dialog was based on jQuery UI’s dialog which was giving us and users some problems since it’s can’t be updated with ajax, uses a fixed 300px default width and more. New Dialog keeps all the features to be backward compatible and adds more;

  • Draggable
  • Resizable
  • Modal
  • Easy Positioning
  • Effects
  • Callbacks and Listeners
  • Minimizable – New!
  • Maximizable – New!
  • Lazy Content – New!
  • Header-Footer Facet – New!
  • Auto Width – New!
  • Can be updated with ajax – New!

Minimize/Maximize mimics the window options in a desktop environment and new dynamic mode is very useful to speed up page load time since dialog contents are loaded lazy before being shown for the first time.

See PrimeFaces Labs for the Beta Demos.

Next stop regarding new features is the new treeTable and then we’ll start with the maintenance/bug-fixes for M3 which is due end of August.

8 Responses to Dialog Enhancements

  1. George says:

    Awesome dude!

    This is so much better, that OpenFaces had for awhile. The only special components from OpenFaces are the validation framework and composite filtering.

    Cheers…

  2. Clément says:

    Wow! That’s very useful!
    Great job!

  3. Venu says:

    Prime-faces Rocks and I waiting for official 3.0 release!

    One observation is if we maximize the dialog, close and open again It retains the state. I am not sure if this is an expected behavior.

  4. Luuzz says:

    Fantastic,
    I really like the lazy loading. One doesn’t have to deal with visible attributes, update or stuff like that anymore

  5. AJ says:

    doesn’t work with chrome as of now

  6. Clean your cache.

  7. bitec says:

    Marvellous! I created a couple of jiras for dialog, but now seems they should be closed. The ajax update for dialog was terrible when using facelets components and updating the whole component together with dialog in it. I hope soon I will refactor the staff, I had to do to overcome this🙂

    Thanks, Cagatay and team!

  8. Anonymous says:

    Awesome! Great work done once again !

%d bloggers like this: