generateHTMLStatic

generateHTMLStatic(includeDefaultSessionInfo: Boolean;
                   useControlNames:           Boolean;
                   generateFormDataOnly:      Boolean;
                   internetExplorerOnly:      Boolean;
                   machineName:               String;
                   virtualDirectory:          String;
                   protocol:                  String): String;

When the generateHTMLStatic method of the Form class is called on a form object and values are specified in the machineName, virtualDirectory, and protocol parameters, JADE generates the static HTML string for that form from the string returned from the receiver and builds the full Uniform Resource Locator (URL) action line.

You can then perform one of the following actions.

Use this method to reduce generation and Windows resource overhead in situations where the data seldom changes or it is not necessary to have the most current data available.

The parameters for the generateHTMLStatic method are listed in the following table.

Parameter Set this parameter to true if you want …
includeDefaultSessionInfo JADE to automatically generate the hidden fields that are sent with the form for session control.
useControlNames JADE to use control names instead of oids in the HTML generation.
  Note that control names may be duplicated when there are cloned controls that have not been given another name. If the control was an input field (for example, a text box), the Web browser will return multiple name-value pairs with the same names. It is your responsibility to handle this situation.
generateFormDataOnly JADE to generate only the HTML between the <FORM> and </FORM> tags, inclusive. You can then insert this string in a user template that sets up the header and footer parts of the Web page, for example.
internetExplorerOnly To generate Internet Explorer 4.0 (and above) specific code.
machineName To specify the name of the Web server machine.
virtualDirectory To specify the name of the virtual directory for HTML-enabled applications on the Web server (or IIS).
protocol To specify the protocol for transmitting data; for example, Hypertext Transfer Protocol (HTTP) or HyperText Transfer Protocol Secure (HTTPS).

If you do not specify all three machineName, virtualDirectory, and protocol parameters, the application code must provide this information.

See also the Form class generateHTML method.