Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

6.13.3.  < rich:layoutPanel > available since 3.3.1

The <rich:layouPanel> is an auxiliary component used to create layout areas within the <rich:layout> container.

The <rich:layoutPanel> component is used to split the area inside the <rich:layout> into up to 5 parts: top, left, center, right, bottom.

The "position" attribute defines the position of the <rich:layoutPanel> in the area created with <rich:layout> .


...
<rich:layout>
        <rich:layoutPanel position="top">
                <!--top-->
        </rich:layoutPanel>
        <rich:layoutPanel position="left">
                <!--left-->
        </rich:layoutPanel>
        <rich:layoutPanel position="center">
                <!--center-->
        </rich:layoutPanel>
        <rich:layoutPanel position="right">
                <!--right-->
        </rich:layoutPanel>
        <rich:layoutPanel position="bottom">
                <!--bottom-->
        </rich:layoutPanel>
</rich:layout>
...

You can specify the width of the layout area with the "width" attribute.

Table of <rich:layoutPanel> attributes.


On RichFaces Live Demo page you can see an example of <rich:layoutPanel> usage and sources for the given example.

See also the <rich:layout> chapter of the guide.

The Layout components for RichFaces 3.3.1 on the JBoss.org Wiki.