New PrimeFaces Layout
April 25, 2011 6 Comments
Conference break is over and I’ve started working on PrimeFaces 3.0.M2. First improved thing in 3.0.M2 is the layout component, previous layout component was based on YUI layout and as you already now, we are trying to replace the remaining YUI stuff in PrimeFaces with third party jQuery counterparts when available or write our own widgets. Old layout was doing the job but had various limitations. New Layout is based on jQuery Layout project with a couple of PrimeFaces extensions, notable features are;
- Full page layout up to 5 regions
- Element based layout
- Nested Layouts
- Client and Server side listeners for events such as toggle, resize, close.
- Native integration with PrimeFaces themes.
Demos are available at PrimeFaces labs. Checkout the MailBox sample that shows various PrimeFaces components in action. Also complex sample has now a menubar and a dialog to show how to use overlay components within layout.