| |
Component sesform
Description
Session-mode form. This is the main form used in
programs. Read more about the form programming .
Format
< sesform ...
> ... < /sesform >
Details
Component must not be used inside a form.
Include File: | sesform.hei |
Session Mode: | create |
Properties
Property |
Kind |
Description |
Oid | Id | |
State | String(60) | Use to disable form fields. |
Method | String(60) | HTTP method to submit the form data set.
Value "post" should be used when form processing causes side
effects, e.g. modifies a database, and if the form contains fieldfileupload.
|
Enctype | String(60) | Content type for method "post". Use "multipart/form-data" with
fieldfileupload.
|
Successuri | String(60) | Continue with this URI after the form has been submitted successfully.
|
Fragment | String(10) | Section name (The # part of the action URI without the #). No effect on successuri. |
Attributes
Name |
Description |
ff | Object containing all correct form fields current values.
If the user entered an illegal value into a field
the field is not contained in ff. |
ok | Contains true or false. ok is true, if the form was read from
the browser and all form fields contained good values. |
success | Contains true or false. success is true, if ok is true
and additionally processing of the pressed button returned
success. |
Superclass
The component inherits Attributes, Methods, and Hookmethods from the
following superclasses:
panel
The ff attribute and the access functions panelobj(n) and panelfield(n)
are important.
Hooks
oncheck (msg)
This hook is called after all form fields and subpanels are
checked. msg contains the data entered by the user. this.ff
can be accessed and contains the checked form fields.
this.ok is defined, this.success is not.
Must return null in case of success. The form (button)
is processed only if oncheck returned null.
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
H.E.I. provides support, tools, and services like
Webdesign in Mannheimm,
the HTML/CSS 3D WebGL Animation Library taccgl,
3D Webdesign, and
3D Product ConfiguratorDemo
(3D Produkt Konfigurator Demo in German).
© 1996-2024 H.E.I. All Rights Reserved.
|