 |
 |
|
|
|
Guidelines for Creating the ASPX Page
The following guidelines apply when creating an ASPX page for Open Client:
-
In addition, to specifying the page language (FileNet Open Client
uses "vb") within the script delimiters at the beginning
of the file, be sure to include the name of the code-behind .aspx.vb
file and the classes it inherits. For example, for the out-of-the-box
HTML Step Processor ASPX page:
<%@ Page Language="vb" Codebehind="FnStepProcessor.aspx.vb"
Inherits=IdmWSX.FnStepProcessor" %>
-
Use HTML metatags to specify your generator IDE, VB as the source
file language, JavaScript as the scripting language, and so on. Remember
to specify the Cascading Style Sheet or template, if any, to be used.
For example (using the default CSS):
<meta name="GENERATOR" content="Microsoft
Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic
7.0">
<meta name="vs_defaultClientScript" content="JScript">
<meta name="vs_targetSchema" content="Internet Explorer
5.0">
<script language="JavaScript" src="UserControl/DatePicker.js"></script>
<LINK href="..\..\..\FnStyleSheet.css" type="text/css"
rel="stylesheet">
-
You can specify the Form, method (either post or get), and server
control, runat="server", at
the beginning of the file, typically when you start the <BODY>
portion of the file, and/or where appropriate. For example:
<BODY>
<FORM id="Main" enctype="multipart/form-data"
method="post" runat="server">
...
</BODY>
-
Structure how you want the page to look with HTML tags, User Controls,
and .NET Controls, as is appropriate. For example, aligning a banner
User control within a table cell, as follows:
<tr valign="top">
<td>
<OpenClient:FnBannerUCId="aFnBannerUC"
runat="server"
NAME=aFnBannerUC" />
</td>
|