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;
- Easy Positioning
- 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.