htp.appletopen, htp.appletclose htp.area htp.base htp.basefont

1-6 Oracle Fusion Middleware PLSQL Web Toolkit Reference

1.4 htp.appletopen, htp.appletclose

htp.appletopen generates the APPLET HTML tag, which begins the invocation of a Java applet. Close the applet invocation with htp.appletclose, which generates the APPLET HTML tag. Specify parameters to the Java applet using the htp.param procedure. Use the cattributes parameter to specify the CODEBASE attribute since the PLSQL cartridge does not know where to find the class files. The CODEBASE attribute specifies the virtual path containing the class files. Table 1–3 describes the properties of htp.appletopen, htp.appletclose.

1.5 htp.area

This generates the AREA HTML tag, which defines a client-side image map. The AREA tag defines areas within the image and destinations for the areas. Table 1–4 describes the properties of htp.area. Table 1–3 htp.appleton, htp.appletclose Properties Definitions Syntax: htp.appletopen ccode in varchar2 cheight in number cwidth in number cattributes in varchar2 DEFAULT NULL; htf.appletopenccode, cheight, cwidth, cattributes return varchar2; htp.appletclose; htf.appletclose return varchar2; Parameters: ccode - the value for the CODE attribute, which specifies the name of the applet class. cheight - the value for the HEIGHT attribute. cwidth - the value for the WIDTH attribute. cattributes - other attributes to be included as-is in the tag. Generates: APPLET CODE=ccode HEIGHT=cheight WIDTH=cwidth cattributes APPLET Example: htp.appletopentestclass.class, 100, 200, CODEBASE=ows-applets generates APPLET CODE=testclass.class height=100 width=200 CODEBASE=ows-applets The htp and htf Packages 1-7

1.6 htp.base

This generates the BASE HTML tag, which records the URL of the document. Table 1–5 describes the properties of htp.base.

1.7 htp.basefont

This generates the BASEFONT HTML tag, which specifies the base font size for a Web page. Table 1–6 describes the properties of htp.basefont. Table 1–4 htp.area Properties Definitions Syntax: htp.area ccoords in varchar2 cshape in varchar2 DEFAULT NULL chref in varchar2 DEFAULT NULL cnohref in varchar2 DEFAULT NULL ctarget in varchar2 DEFAULT NULL cattributes in varchar2 DEFAULT NULL; htf.areaccoords, cshape, chref, cnohref, ctarget, cattributes return varchar2; Parameters: ccoords - the value for the COORDS attribute. cshape - the value for the SHAPE attribute. chref - the value for the HREF attribute. cnohref - if the value for this parameter is not NULL, the NOHREF attribute is added to the tag. ctarget - the value for the TARGET attribute. cattributes - other attributes to be included as-is in the tag. Generates: AREA COORDS=ccoords SHAPE=cshape HREF=chref NOHREF TARGET=ctarget cattributes Table 1–5 htp.base Properties Definitions Syntax: htp.base ctarget in varchar2 DEFAULT NULL cattributes in varchar2 DEFAULT NULL; htf.basectarget, cattributes return varchar2; Parameters: ctarget - the value for the TARGET attribute, which establishes a window name to which all links in this document are targeted. cattributes - other attributes to be included as-is in the tag. Generates: BASE HREF=current URL TARGET=ctarget cattributes 1-8 Oracle Fusion Middleware PLSQL Web Toolkit Reference

1.8 htp.bgsound