Split Panel

Vertical

Top Panel of Vertical Split Panel

Bottom Panel of Vertical Split Panel

Horizontal

Left Panel of Horizontal Split Panel

Right Panel of Horizontal Split Panel

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Panels - Split Panel</title>
    </head>
    <body>
        <div style="padding:15px;">
            <h3> Split Panel </h3>
            <table>
                <tr>
                    <td>
                    <h3> Vertical </h3>
                    <WAF:VerticalSplitPanel style="width:300px;height:300px;">
                        <addTopElement>
                            <div style="padding:4px;">
                                <h3>Top Panel of Vertical Split Panel </h3>
                            </div>
                        </addTopElement>
                        <addBottomElement>
                            <div style="padding:4px;">
                                <h3>Bottom Panel of Vertical Split Panel </h3>
                            </div>
                        </addBottomElement>
                    </WAF:VerticalSplitPanel>
                    </td>
                    <td>
                    <h3> Horizontal </h3>
                    <WAF:HorizontalSplitPanel style="width:300px;height:300px;">
                        <addLeftElement>
                            <div style="padding:4px;">
                                <h3>Left Panel of Horizontal Split Panel </h3>
                            </div>
                        </addLeftElement>
                        <addRightElement>
                            <div style="padding:4px;">
                                <h3>Right Panel of Horizontal Split Panel </h3>
                            </div>
                        </addRightElement>
                    </WAF:HorizontalSplitPanel>
                    </td>
                </tr>
            </table>
        </div>
    </body>
</html>

package controllers;

import com.openwaf.client.ui.panels.HorizontalSplitPanel;
import com.openwaf.client.ui.panels.VerticalSplitPanel;
import com.openwaf.core.framework.WAFController;

public class ExPanelSplit extends WAFController {
    private ExPanelSplit(){
    }
}