JTRawOutput Demo
The JTRawOutput allows you to dump custom HTML code out onto the page where it is located. This can be used with page templates to insert custom data into the template, or to write out JavaScript etc.

This HTML code was printed out in the JTRawOutputDemoCreate event handler coupled to the JTRawOutputDemo::OnCreate event.

Here is the code that produced this dump:

function JTRawOutputDemoCreate($sender, $params)
{
    $this->JTRawOutput1->Value = <<<<EOT1
<div style="border: solid 1px silver; padding: 10px; width: 100%;">
    <p>
      This HTML code was printed out in the <code>JTRawOutputDemoCreate</code> event handler
      coupled to the <code>JTRawOutputDemo::OnCreate</code> event.
    </p>

    <script language="JavaScript"><!--

    document.write( "<p>As you can see, even JavaScript can be dumped.</p>" );

    -->
    </script>

    <p>
      Here is the code that produced this dump:
    </p>
</div>
EOT1;
}