summaryrefslogtreecommitdiffstats
path: root/htmlform.txi
diff options
context:
space:
mode:
Diffstat (limited to 'htmlform.txi')
-rw-r--r--htmlform.txi24
1 files changed, 24 insertions, 0 deletions
diff --git a/htmlform.txi b/htmlform.txi
index e960984..77704ff 100644
--- a/htmlform.txi
+++ b/htmlform.txi
@@ -8,12 +8,14 @@ send @var{txt} as an @dfn{attribute-value}.
@cindex attribute-value
@end defun
+
@defun html:plain txt
Returns a string with character substitutions appropriate to
send @var{txt} as an @dfn{plain-text}.
@cindex plain-text
@end defun
+
@defun html:meta name content
Returns a tag of meta-information suitable for passing as the
third argument to @code{html:head}. The tag produced is @samp{<META
@@ -22,6 +24,7 @@ NAME="@var{name}" CONTENT="@var{content}">}. The string or symbol @var{name} ca
@samp{date}, @samp{robots}, @dots{}.
@end defun
+
@defun html:http-equiv name content
Returns a tag of HTTP information suitable for passing as the
third argument to @code{html:head}. The tag produced is @samp{<META
@@ -30,6 +33,7 @@ HTTP-EQUIV="@var{name}" CONTENT="@var{content}">}. The string or symbol @var{na
@samp{Refresh}, @dots{}.
@end defun
+
@defun html:meta-refresh delay uri
@@ -42,6 +46,7 @@ and display @var{uri}. Otherwise, @var{delay} seconds after displaying the page
this tag, Netscape or IE browsers will fetch and redisplay this page.
@end defun
+
@defun html:head title backlink tags @dots{}
@@ -55,10 +60,12 @@ used. If string arguments @var{tags} ... are supplied, then they are
included verbatim within the @t{<HEAD>} section.
@end defun
+
@defun html:body body @dots{}
Returns HTML string to end a page.
@end defun
+
@defun html:pre line1 line @dots{}
Returns the strings @var{line1}, @var{lines} as @dfn{PRE}formmated plain text
@cindex PRE
@@ -66,9 +73,11 @@ Returns the strings @var{line1}, @var{lines} as @dfn{PRE}formmated plain text
@var{lines}. HTML tags (@samp{<tag>}) within @var{lines} will be visible verbatim.
@end defun
+
@defun html:comment line1 line @dots{}
Returns the strings @var{line1} as HTML comments.
@end defun
+
@section HTML Forms
@@ -79,30 +88,37 @@ form. @code{html:form} returns the HTML @dfn{form}.
@cindex form
@end defun
+
@defun html:hidden name value
Returns HTML string which will cause @var{name}=@var{value} in form.
@end defun
+
@defun html:checkbox pname default
Returns HTML string for check box.
@end defun
+
@defun html:text pname default size @dots{}
Returns HTML string for one-line text box.
@end defun
+
@defun html:text-area pname default-list
Returns HTML string for multi-line text box.
@end defun
+
@defun html:select pname arity default-list foreign-values
Returns HTML string for pull-down menu selector.
@end defun
+
@defun html:buttons pname arity default-list foreign-values
Returns HTML string for any-of selector.
@end defun
+
@defun form:submit submit-label command
@@ -114,15 +130,18 @@ and @code{*button*=@var{submit-label}} are set in the query. Otherwise,
@code{*command*=@var{submit-label}} is set in the query.
@end defun
+
@defun form:image submit-label image-src
The @var{image-src} appears on the button which submits the form.
@end defun
+
@defun form:reset
Returns a string which generates a @dfn{reset} button.
@cindex reset
@end defun
+
@defun form:element pname arity default-list foreign-values
Returns a string which generates an INPUT element for the field
named @var{pname}. The element appears in the created form with its
@@ -160,6 +179,7 @@ text area
@end table
@end defun
+
@defun form:delimited pname doc aliat arity default-list foreign-values
@@ -168,15 +188,18 @@ delimited list. Apply map @code{form:delimited} to the list returned by
@code{command->p-specs}.
@end defun
+
@defun html:delimited-list row @dots{}
Wraps its arguments with delimited-list (@samp{DL} command.
@end defun
+
@defun get-foreign-choices tab
Returns a list of the @samp{visible-name} or first fields of
table @var{tab}.
@end defun
+
@defun command->p-specs rdb command-table command
@@ -212,3 +235,4 @@ command.
port)))
@end example
@end defun
+