### Example code for embedded tags

    <%@ taglib uri="Jinfonet_DHTML_taglib.tld" prefix="jinfonet" %>
    <html>
    <head>
    <title> Test Mainpage Taglib </title>
    </head>

    <body>
    <table width="100%" height="100%" border="1">
      <tr>
        <td height="20">Test MainPage Taglib</td>
      </tr>
      <tr>
        <td height="48"><img src="../images/dhtml/standard/banner1.jpg" width="431" height="47"></td>
      </tr>
      <tr>
        <td>
          <jinfonet:dhtml id="report1" tagsetid="main" report="/SampleReports/InvoiceReport.cls"
    catalog="/SampleReports/SampleReports.cat" report_path="/SampleReports/InvoiceReport.cls"
    report_params ="">
            <jinfonet:mainpage width="100%" height="100%" top="0" left="0"
    align="left" frameborder="0" scrolling="yes" id="mainpageid" name="mainpagename"
    position="relative" controls="rptSetBar|toolbar|report"/>
          </jinfonet:dhtml>
        </td>
      </tr>
    </table>
    </body>
    </html>

### Example code for component tags

    <%@ taglib uri="Jinfonet_DHTML_taglib.tld" prefix="jinfonet" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>Untitled Document</title>
    </head>

    <body>
    <jinfonet:dhtml id="report1" tagsetid="main" report="/SampleReports/InvoiceReport.cls"
    catalog="/SampleReports/SampleReports.cat" report_path="/SampleReports/InvoiceReport.cls"
    report_params="">
      <table border="0" cellpadding="0" cellspacing="0" width="1000">
        <tr>
          <td colspan="2"><jinfonet:toolbar/></td>
        </tr>
        <tr>
          <td valign="top">
            <table  border="0" cellpadding="0" cellspacing="0" width="200">
              <tr>
                <td>
                  <tr height="20">
                    <td style="background-color:#C6CBDE; font-size:12px; font-weight:bold;">Toolbox</td>
                  </tr>
                  <tr height="110">
                    <td width="200" valign="top"><jinfonet:toolbox/></td>
                  </tr>
                  <tr height="20">
                    <td style="background-color:#C6CBDE;font-size:12px; font-weight:bold;;">Resource View</td>
                  </tr>
                  <tr height="200">
                    <td width="200" valign="top"><jinfonet:resview/></td>
                  </tr>
                  <tr height="20">
                    <td style="background-color:#C6CBDE; font-size:12px; font-weight:bold;">TOC Browser</td>
                  </tr>
                  <tr height="200">
                    <td width="150" valign="top"><jinfonet:toc/></td>
                  </tr>
                </td>
              </tr>
            </table>
          </td>
          <td valign="top">
            <table border="0" cellpadding="0" cellspacing="0" width="800">
              <tr>
                <td><jinfonet:report id="report" height = "550" controls="all"/></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </jinfonet:dhtml>
    </body>
    </html>

### Example code for action tags

    <%@ taglib uri="Jinfonet_DHTML_taglib.tld" prefix="jinfonet" %>
    <html>
    <head>
    <title> Test Mainpage Taglib </title>
    </head>
    <body>
    <jinfonet:dhtml id="report1" tagsetid="main" report="/SampleReports/InvoiceReport.cls"
    catalog="/SampleReports/SampleReports.cat" report_path="/SampleReports/InvoiceReport.cls"
    report_params="">
    <table width="100%" height="100%" border="1">
      <tr height="20">
        <td colspan=2 align="center"><h4>Test Action Taglib</h4></td>
      </tr>
      <tr height="20">
        <td>
          <jinfonet:sortform id="sorform01" forward="tagtest.jsp" applyto="BandedObject">
            &nbsp;&nbsp;Sort QUANTITY :
            <jinfonet:column bind_column="QUANTITY" parent_id="sorform01" id="column01"/>
          </jinfonet:sortform>
        </td>
        <td>
          <jinfonet:filterform id="filterform01" forward="tagtest.jsp" applyto="BandedObject">
            &nbsp;&nbsp;Filter QUANTITY :
            <jinfonet:column bind_column="QUANTITY" parent_id="filterform01" id="column02" logic="AND"/>
          </jinfonet:filterform>
        </td>
      </tr>
      <tr>
        <td colspan=2>
          <jinfonet:mainpage width="100%" height="100%" top="0" left="0" align="left"
    frameborder="0" scrolling="yes" id="mainpageid" name="mainpagename" position="relative"
    controls="rptSetBar|toolbar|report"/>
        </td>
      </tr>
    </table>
    </jinfonet:dhtml>
    </body>
    </html>