Module htk
A toolkit for constructing HTML pages.
Info:
- Release: $Id: htk-3.4.lua,v 1.2 2013/03/07 18:59:46 tomas Exp $
Functions
| APPLET (obj) | Construct an [[OBJECT]] element compatible to an [[APPLET]]. |
| CENTER (obj) | Construct a [[DIV]] element compatible to a [[CENTER]]. |
| BOX (obj) | Group together other elements. |
| MULTILINE (param) | Construct a [[TEXTAREA]] HTML element. |
| BUTTON (param) | |
| COLOR (param) | |
| DATE (param) | |
| DATETIMELOCAL (param) | |
| EMAIL (param) | |
| IMAGE (param) | |
| MONTH (param) | |
| NUMBER (param) | |
| RANGE (param) | |
| SEARCH (param) | |
| TEL (param) | |
| TIME (param) | |
| URL (param) | |
| WEEK (param) | |
| FILE (param) | Construct an [[INPUT]] element with type attribute set to [[file]]. |
| HIDDEN (param) | Construct an [[INPUT]] element with type attribute set to [[hidden]]. |
| PASSWORD (param) | Construct an [[INPUT]] element with type attribute set to [[password]]. |
| RADIO_BUTTON (param) | Construct an [[INPUT]] element with type attribute set to [[radio]]. |
| RESET (param) | Construct an [[INPUT]] element with type attribute set to [[reset]]. |
| SUBMIT (param) | Construct an [[INPUT]] element with type attribute set to [[submit]]. |
| TEXT (param) | Construct an [[INPUT]] element with type attribute set to [[text]]. |
| TOGGLE (param) | Construct an [[INPUT]] element with type attribute set to [[checkbox]]. |
| RADIO (param) | Construct a list of [[RADIO_BUTTON]]s. |
| TOGGLE_LIST (param) | Construct a list of [[TOGGLE]]s (checkbox buttons). |
| SELECT (param) | Construct a selection list. |
| COMPOUND (param) | |
| TH (param) | |
| TD (param) | |
| DATE_FIELD (param) | |
| FILE_FIELD (param) | |
| PASSWORD_FIELD (param) | |
| RADIO_FIELD (param) | |
| SELECT_FIELD (param) | |
| TEXT_FIELD (param) | |
| TEXTAREA_FIELD (param) | |
| TOGGLE_FIELD (param) | |
| OTHER (param) | Permits the inclusion of another element "as" a radio button. |
Functions
- APPLET (obj)
-
Construct an [[OBJECT]] element compatible to an [[APPLET]].
Parameters:
- obj Table with object description.
Returns:
-
String with HTML representation of the object.
- CENTER (obj)
-
Construct a [[DIV]] element compatible to a [[CENTER]].
Parameters:
- obj Table with object description.
Returns:
-
String with HTML representation of the object.
- BOX (obj)
-
Group together other elements.
Parameters:
- obj Table with object description.
Returns:
-
String with HTML representation of the object.
- MULTILINE (param)
-
Construct a [[TEXTAREA]] HTML element.
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- BUTTON (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- COLOR (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- DATE (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- DATETIMELOCAL (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- EMAIL (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- IMAGE (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- MONTH (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- NUMBER (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- RANGE (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- SEARCH (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TEL (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TIME (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- URL (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- WEEK (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- FILE (param)
-
Construct an [[INPUT]] element with type attribute set to [[file]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- HIDDEN (param)
-
Construct an [[INPUT]] element with type attribute set to [[hidden]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- PASSWORD (param)
-
Construct an [[INPUT]] element with type attribute set to [[password]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- RADIO_BUTTON (param)
-
Construct an [[INPUT]] element with type attribute set to [[radio]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- RESET (param)
-
Construct an [[INPUT]] element with type attribute set to [[reset]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- SUBMIT (param)
-
Construct an [[INPUT]] element with type attribute set to [[submit]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TEXT (param)
-
Construct an [[INPUT]] element with type attribute set to [[text]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TOGGLE (param)
-
Construct an [[INPUT]] element with type attribute set to [[checkbox]].
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- RADIO (param)
-
Construct a list of [[RADIO_BUTTON]]s.
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TOGGLE_LIST (param)
-
Construct a list of [[TOGGLE]]s (checkbox buttons).
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- SELECT (param)
-
Construct a selection list.
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- COMPOUND (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TH (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- DATE_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- FILE_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- PASSWORD_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- RADIO_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- SELECT_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TEXT_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TEXTAREA_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- TOGGLE_FIELD (param)
-
Parameters:
- param Table with object description.
Returns:
-
String with HTML representation of the object.
- OTHER (param)
-
Permits the inclusion of another element "as" a radio button.
For instance, one can define a radio with an option called "other"
followed by a text input.
This function only works because the RADIO constructor also expects
a function as an option.
Parameters:
- param Table with object description.
Returns:
-
Function that will create the option.