WebDrillDown for JSP
WebDrillDown for JSP Documentation

This document is an API reference for the WebDrillDown JavaBean. It contains brief descriptions for the client-side and server-side properties, methods and events used by the control.

For demonstration of these APIs, you are encouraged to see the WebDrillDown samples. They contain many interactive examples of their usage.

To place the WebDrillDown control on your JSP page, follow these steps:

Here is a minimal JSP page with the control integrated and the relevant WebDrillDown code highlighted:

<%@ page language="java" contentType="text/html;charset=UTF-8" import="Coalesys.WebDrillDown.*" %>
<%
    request.setCharacterEncoding("UTF-8");
    WebDrillDown webDrillDown1 = new WebDrillDown("WebDrillDown1", request.getParameterMap());
    webDrillDown1.addItem("hello, world");
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Sample Page</title>
    <script src="WebDrillDown.js" type="text/javascript"></script>
    <link href="WebDrillDown.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form action="index.jsp" method="post">
    <div>
        <%=webDrillDown1.renderControl()%>
    </div>
    </form>
</body>
</html>