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
on 2011/04/26 23:08
Change comment:
There is no comment for this version
To version 3.1
edited by Pascal Robert
on 2011/04/26 23:30
on 2011/04/26 23:30
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,15 +2,30 @@ 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 +| code | Name of the Java class. 18 +| width | Width, in pixels, of the area to allocate for the applet. 19 +| height | Height, in pixels, of the area to allocate for the applet. 20 +| associationClass | Name of the Java subclass of WOAssociation that aids in communication between client applet and the server. 21 +| codeBase | 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. 22 +| archive | 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. 23 +| archiveNames | 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. 24 +| object | File containing serialized representation of the applet. 25 +| hspace | Amount of whitespace (in pixels) to the left and right of the applet. 26 +| vspace | Amount of whitespace (in pixels) at the top and bottom of the applet. 27 +| align | Alignment of the applet. Possible values are top, bottom, left, right, and middle. 28 + 14 14 = Examples = 15 15 16 16 == Java methods ==