Changes for page WOApplet

Last modified by Pascal Robert on 2011/04/26 23:30

From version 2.1
edited by Pascal Robert
on 2011/04/26 23:08
Change comment: There is no comment for this version
To version 5.1
edited by Pascal Robert
on 2011/04/26 23:30
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Dynamic Elements
Content
... ... @@ -1,16 +1,75 @@
1 -{{toc}}{{/toc}}
1 +{{toc/}}
2 2  
3 3  = Introduction =
4 4  
5 +WOApplet is a dynamic element that generates HTML to specify a Java applet. The applet's parameters are passed by one or more WOParam elements.
6 +
5 5  = Usage =
6 6  
7 7  {{code}}
8 8  
11 +WOApplet { code=javaClassName; width=aWidth; height=aHeight; [associationClass=className;] [codeBase=aPath;] [archive=jarFile1[, jarFile2];] [archiveNames=jarFile1[, jarFile2];] [object=serializedApplet;] [hspace= aSize;] [vspace=aSize;] [align=aString]... }
9 9  
10 10  {{/code}}
11 11  
12 12  = Bindings =
13 13  
17 +|(((
18 +code
19 +)))|(((
20 +Name of the Java class.
21 +)))
22 +|(((
23 +width
24 +)))|(((
25 +Width, in pixels, of the area to allocate for the applet.
26 +)))
27 +|(((
28 +height
29 +)))|(((
30 +Height, in pixels, of the area to allocate for the applet.
31 +)))
32 +|(((
33 +associationClass
34 +)))|(((
35 +Name of the Java subclass of WOAssociation that aids in communication between client applet and the server.
36 +)))
37 +|(((
38 +codeBase
39 +)))|(((
40 +Directory that contains the applet code. If this attribute is omitted, the applet code is assumed to be in the same directory as the template HTML file.
41 +)))
42 +|(((
43 +archive
44 +)))|(((
45 +Comma-separated list of URLs for jar archive files containing classes and other resources that will be preloaded. (Note: Currently, most browsers do not support a comma-separated list, so only a single archive file may be used.) Use this attribute for archive files that you have generated outside of a WebObjects application or framework. The value for this attribute is appended to the archiveNames attribute value.
46 +)))
47 +|(((
48 +archiveNames
49 +)))|(((
50 +Comma-separated list of archive files containing classes and other resources that will be preloaded. (Note: Currently, most browsers do not support a comma-separated list, so only a single archive file may be used.) Use this attribute for archive files that are built as part of a WebObjects application or framework project.
51 +)))
52 +|(((
53 +object
54 +)))|(((
55 +File containing serialized representation of the applet.
56 +)))
57 +|(((
58 +hspace
59 +)))|(((
60 +Amount of whitespace (in pixels) to the left and right of the applet.
61 +)))
62 +|(((
63 +vspace
64 +)))|(((
65 +Amount of whitespace (in pixels) at the top and bottom of the applet.
66 +)))
67 +|(((
68 +align
69 +)))|(((
70 +Alignment of the applet. Possible values are top, bottom, left, right, and middle.
71 +)))
72 +
14 14  = Examples =
15 15  
16 16  == Java methods ==
... ... @@ -17,16 +17,10 @@
17 17  
18 18  == WOD-style ==
19 19  
20 -{{code}}
79 +{{code/}}
21 21  
22 -
23 -{{/code}}
24 -
25 25  == Inline bindings (WOOGNL) ==
26 26  
27 -{{code}}
83 +{{code/}}
28 28  
29 -
30 -{{/code}}
31 -
32 32  = Related documents =