Introduction

WOVBScript lets you embed a script written in Visual Basic in a dynamically generated page.

Usage

WOVBScript { 
  scriptFile=aPath | scriptString=aString | scriptSource=aURL; 
  [hideInComment=aBoolean;] 
  ... 
}

Bindings

script

File Path to the file containing the script. The path can be statically specified in the declaration file or it can be a java.lang.String, an object that responds to a description message by returning an java.lang.String, or a method that returns an java.lang.String.

scriptString

String containing the script. Typically, scriptString is an java.lang.String object, an object that responds to a description message by returning an java.lang.String, or a method that returns an java.lang.String.

scriptSource

URL specifying the location of the script.

hideInComment

If hideInComment evaluates to true, the script is enclosed in an HTML comment (<!-- script -->). Since scripts can generate errors in some older browsers that weren't designed to execute them, you may want to enclose your script in an HTML comment. Browsers designed to run these scripts will still be able to execute them despite the surrounding comment tags.

Examples

Java methods

WOD-style

 

Inline bindings (WOOGNL)

 

Related documents

  • No labels