It’s been a while since I posted any RichFaces examples. This post shows how to use new rich:layout and rich:layoutPanel components from RichFaces 3.3.1 .
rich:layoutPanel is a component that allows to define layout with the following logical panels:
The logical panel parts are defined via position attribute:
Top Right Center Left Bottom
Any content can go inside the panels and nesting is also allowed. rich:layoutPanel is always placed inside rich:panel which acts as a parent container.
Here is an example with other components inside:
RichFaces ApplicationTop Right Center Left Bottom
The following will be rendered. Notice that I’m nesting another rich:layout inside.