The htp and htf Packages 1-17
1.32 htp.formOpen, htp.formClose
This generates the FORM and FORM tags, which create a form section in an HTML document.
Table 1–31 describes the properties of htp.formOpen, htp.formClose.
1.33 htp.formFile
This generates the INPUT tag with TYPE=file, which allows the user to select files so that their contents may be submitted with a form.
Table 1–30 htp.formCheckbox
Properties Definitions
Syntax: htp.formCheckbox
cname in
varchar2 cvalue
in varchar2
DEFAULT on cchecked
in varchar2
DEFAULT NULL cattributes
in varchar2
DEFAULT NULL; htf.formCheckbox cname, cvalue, cchecked, cattributes return
varchar2; Parameters:
cname - the value for the NAME attribute. cvalue - the value for the VALUE attribute.
cchecked - if the value for this parameter is not NULL, the CHECKED attribute is added to the tag.
cattributes - other attributes to be included as-is in the tag. Generates:
INPUT TYPE=checkbox NAME=cname VALUE=cvalue CHECKED cattributes
Table 1–31 htp.formOpen, htp.formClose
Properties Definitions
Syntax: htp.formOpen
curl in
varchar2 cmethod
in varchar2
DEFAULT POST ctarget
in varchar2
DEFAULT NULL cenctype
in varchar2
DEFAULT NULL cattributes
in varchar2
DEFAULT NULL; htf.formOpen curl, cmethod, ctarget, cenctype, cattributes return
varchar2; htp.formClose;
htf.formClose return varchar2; Parameters:
curl - the URL of the WRB or CGI script where the contents of the form is sent. This parameter is required.
cmethod - the value for the METHOD attribute. The value can be GET or POST. ctarget - the value for the TARGET attribute.
cenctype - the value for the ENCTYPE attribute. cattributes - other attributes to be included as-is in the tag.
Generates: FORM ACTION=curl METHOD=cmethod TARGET=ctarget
ENCTYPE=cenctype cattributes FORM
1-18 Oracle Fusion Middleware PLSQL Web Toolkit Reference
Table 1–32 describes the properties of htp.formFile.
1.34 htp.formHidden
This generates the INPUT tag with TYPE=hidden, which inserts a hidden form element. This element is not seen by the user. It submits additional values to the script.
Table 1–33 describes the properties of htp.formHidden.
1.35 htp.formImage