Wiki source code of WOVBScript
Last modified by Pascal Robert on 2011/05/08 02:23
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
4.1 | 1 | {{toc/}} |
![]() |
1.1 | 2 | |
3 | = Introduction = | ||
4 | |||
![]() |
3.1 | 5 | WOVBScript lets you embed a script written in Visual Basic in a dynamically generated page. |
6 | |||
![]() |
1.1 | 7 | = Usage = |
8 | |||
9 | {{code}} | ||
10 | |||
![]() |
3.1 | 11 | WOVBScript { |
12 | scriptFile=aPath | scriptString=aString | scriptSource=aURL; | ||
13 | [hideInComment=aBoolean;] | ||
14 | ... | ||
15 | } | ||
![]() |
1.1 | 16 | |
17 | {{/code}} | ||
18 | |||
19 | = Bindings = | ||
20 | |||
![]() |
4.1 | 21 | |((( |
22 | script | ||
23 | )))|((( | ||
24 | 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. | ||
25 | ))) | ||
26 | |((( | ||
27 | scriptString | ||
28 | )))|((( | ||
29 | 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. | ||
30 | ))) | ||
31 | |((( | ||
32 | scriptSource | ||
33 | )))|((( | ||
34 | URL specifying the location of the script. | ||
35 | ))) | ||
36 | |((( | ||
37 | hideInComment | ||
38 | )))|((( | ||
39 | 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. | ||
40 | ))) | ||
![]() |
3.1 | 41 | |
![]() |
1.1 | 42 | = Examples = |
43 | |||
44 | == Java methods == | ||
45 | |||
46 | == WOD-style == | ||
47 | |||
![]() |
4.1 | 48 | {{code/}} |
![]() |
1.1 | 49 | |
50 | == Inline bindings (WOOGNL) == | ||
51 | |||
![]() |
4.1 | 52 | {{code/}} |
![]() |
1.1 | 53 | |
54 | = Related documents = |