You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2010/07/02 02:45:12 UTC
svn commit: r959821 - in /tcl/rivet/trunk: ChangeLog configure.ac
doc/rivet.xml doc/rivet.xsl doc/xml/calendar.xml doc/xml/form.xml
rivet/pkgIndex.tcl
Author: mxmanghi
Date: Fri Jul 2 00:45:12 2010
New Revision: 959821
URL: http://svn.apache.org/viewvc?rev=959821&view=rev
Log:
2010-07-02 Massimo Manghi <mx...@apache.org>
* doc/xml/calendar.xml: Add manual page for package Calendar (package still to be
added to repository)
* doc/xml/form.xml: Page for package 'form' written with a more structured
docbook organization that allows finer styling of a manual page.
* doc/rivet.xsl: Add xsl configurations for elements refsect1,refsect2 and
refsect3
* configure.ac: Add message when building for Apache 1.x
Added:
tcl/rivet/trunk/doc/xml/calendar.xml
Modified:
tcl/rivet/trunk/ChangeLog
tcl/rivet/trunk/configure.ac
tcl/rivet/trunk/doc/rivet.xml
tcl/rivet/trunk/doc/rivet.xsl
tcl/rivet/trunk/doc/xml/form.xml
tcl/rivet/trunk/rivet/pkgIndex.tcl
Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=959821&r1=959820&r2=959821&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Fri Jul 2 00:45:12 2010
@@ -1,3 +1,12 @@
+2010-07-02 Massimo Manghi <mx...@apache.org>
+ * doc/xml/calendar.xml: Add manual page for package Calendar (package still to be
+ added to repository)
+ * doc/xml/form.xml: Page for package 'form' written with a more structured
+ docbook organization that allows finer styling of a manual page.
+ * doc/rivet.xsl: Add xsl configurations for elements refsect1,refsect2 and
+ refsect3
+ * configure.ac: Add message when building for Apache 1.x
+
2010-07-01 Massimo Manghi <mx...@apache.org>
* doc/xml/Makefile.am: removed target 'html/rivet.html" from 'docs' depends. The no-chunks version
of the manual can be build running 'make docs-nochunk'
Modified: tcl/rivet/trunk/configure.ac
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/configure.ac?rev=959821&r1=959820&r2=959821&view=diff
==============================================================================
--- tcl/rivet/trunk/configure.ac (original)
+++ tcl/rivet/trunk/configure.ac Fri Jul 2 00:45:12 2010
@@ -256,7 +256,7 @@ AC_DEFUN([CHECK_APXS],[
AC_ARG_WITH(
apxs,
[ --with-apxs=FILE location of Apache's apxs tool],
- [if test -x "${with_apxs}" ; then
+ [if test -x "${with_apxs}" ; then
apxs_found="${with_apxs}"
AC_MSG_RESULT([$apxs_found])
fi]
@@ -381,11 +381,12 @@ AC_DEFUN([APACHE_VERSION],[
AC_MSG_RESULT( building for apache 1.x )
AC_CONFIG_FILES([src/apache-1/Makefile])
apache_version_dir="apache-1"
+ AC_DEFINE(APACHE1,1,[APACHE1 definition in config.h])
else
AC_MSG_RESULT( building for apache 2.x )
AC_CONFIG_FILES([src/apache-2/Makefile])
apache_version_dir="apache-2"
- AC_DEFINE(APACHE2,1,[Apache2 define to config.h])
+ AC_DEFINE(APACHE2,1,[APACHE2 definition in config.h])
fi
])
Modified: tcl/rivet/trunk/doc/rivet.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/rivet.xml?rev=959821&r1=959820&r2=959821&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/rivet.xml (original)
+++ tcl/rivet/trunk/doc/rivet.xml Fri Jul 2 00:45:12 2010
@@ -2,28 +2,28 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/committees/docbook/xml/4.1.2/docbookx.dtd" [
- <!ENTITY hello.rvt SYSTEM "examples/hello.rvt" >
- <!ENTITY table.rvt SYSTEM "examples/table.rvt" >
- <!ENTITY vars.html SYSTEM "examples/vars.html" >
- <!ENTITY vars.rvt SYSTEM "examples/vars.rvt" >
- <!ENTITY upload.html SYSTEM "examples/upload.html" >
- <!ENTITY upload.rvt SYSTEM "examples/upload.rvt" >
- <!ENTITY download.tcl SYSTEM "examples/download.tcl" >
- <!ENTITY rivet_web_service.tcl SYSTEM "examples/rivet_web_service.tcl" >
-
- <!ENTITY intro.xml SYSTEM "xml/intro.xml" >
- <!ENTITY install.xml SYSTEM "xml/install.xml" >
- <!ENTITY directives.xml SYSTEM "xml/directives.xml" >
- <!ENTITY commands.xml SYSTEM "xml/commands.xml" >
- <!ENTITY examples.xml SYSTEM "xml/examples.xml" >
- <!ENTITY packages.xml SYSTEM "xml/packages.xml" >
- <!ENTITY dio.xml SYSTEM "xml/dio.xml" >
- <!ENTITY diodisplay.xml SYSTEM "xml/diodisplay.xml" >
- <!ENTITY session.xml SYSTEM "xml/session.xml" >
- <!ENTITY form.xml SYSTEM "xml/form.xml" >
- <!ENTITY help.xml SYSTEM "xml/help.xml" >
- <!ENTITY internals.xml SYSTEM "xml/internals.xml" >
- <!ENTITY upgrade.xml SYSTEM "xml/upgrade.xml" >
+ <!ENTITY hello.rvt SYSTEM "examples/hello.rvt" >
+ <!ENTITY table.rvt SYSTEM "examples/table.rvt" >
+ <!ENTITY vars.html SYSTEM "examples/vars.html" >
+ <!ENTITY vars.rvt SYSTEM "examples/vars.rvt" >
+ <!ENTITY upload.html SYSTEM "examples/upload.html" >
+ <!ENTITY upload.rvt SYSTEM "examples/upload.rvt" >
+ <!ENTITY download.tcl SYSTEM "examples/download.tcl" >
+ <!ENTITY rivet_web_service.tcl SYSTEM "examples/rivet_web_service.tcl" >
+ <!ENTITY intro.xml SYSTEM "xml/intro.xml" >
+ <!ENTITY install.xml SYSTEM "xml/install.xml" >
+ <!ENTITY directives.xml SYSTEM "xml/directives.xml" >
+ <!ENTITY commands.xml SYSTEM "xml/commands.xml" >
+ <!ENTITY examples.xml SYSTEM "xml/examples.xml" >
+ <!ENTITY packages.xml SYSTEM "xml/packages.xml" >
+ <!ENTITY dio.xml SYSTEM "xml/dio.xml" >
+ <!ENTITY diodisplay.xml SYSTEM "xml/diodisplay.xml" >
+ <!ENTITY session.xml SYSTEM "xml/session.xml" >
+ <!ENTITY form.xml SYSTEM "xml/form.xml" >
+ <!ENTITY calendar.xml SYSTEM "xml/calendar.xml" >
+ <!ENTITY help.xml SYSTEM "xml/help.xml" >
+ <!ENTITY internals.xml SYSTEM "xml/internals.xml" >
+ <!ENTITY upgrade.xml SYSTEM "xml/upgrade.xml" >
]>
<!--
@@ -110,8 +110,11 @@
<!-- Form -->
&form.xml;
- <!-- Help -->
- &help.xml;
+ <!-- Calendar -->
+ &calendar.xml;
+
+ <!-- Help -->
+ &help.xml;
<!-- Internals -->
&internals.xml;
Modified: tcl/rivet/trunk/doc/rivet.xsl
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/rivet.xsl?rev=959821&r1=959820&r2=959821&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/rivet.xsl (original)
+++ tcl/rivet/trunk/doc/rivet.xsl Fri Jul 2 00:45:12 2010
@@ -156,6 +156,34 @@
</div>
</xsl:template>
+<!-- refsect3 -->
+ <xsl:template match="refsect3/title">
+ <div style="padding:4 ; margin-top:3 ; margin-left: 5%;">
+ <xsl:apply-templates />
+ </div>
+ </xsl:template>
+
+ <xsl:template match="refsect3/variablelist/varlistentry">
+ <dt>
+ <xsl:call-template name="anchor"/>
+ <xsl:apply-templates select="term"/>
+ </dt>
+ <dd>
+ <div style="padding:4 ; margin-top:3 ; margin-left: 5%;
+ margin-bottom:3 ; width:70%;" >
+ <xsl:apply-templates select="listitem"/>
+ </div>
+ </dd>
+ </xsl:template>
+
+<!-- -->
+
+ <xsl:template match="listitem/para">
+ <div style="margin-bottom:1.5ex ; padding .5ex">
+ <xsl:apply-templates/>
+ </div>
+ </xsl:template>
+
<xsl:template match="arg">
<xsl:variable name="choice" select="@choice"/>
<xsl:variable name="rep" select="@rep"/>
Added: tcl/rivet/trunk/doc/xml/calendar.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/xml/calendar.xml?rev=959821&view=auto
==============================================================================
--- tcl/rivet/trunk/doc/xml/calendar.xml (added)
+++ tcl/rivet/trunk/doc/xml/calendar.xml Fri Jul 2 00:45:12 2010
@@ -0,0 +1,59 @@
+<section id="calendar_package">
+ <title>Calendar Package</title>
+ <section>
+ <title>Introduction</title>
+ <para>
+ Calendar is a set of three classes that produce Calendar tables
+ in different forms: Calendar, XmlCalendar and HtmlCalendar.
+ The base class Calendar outputs a calendar
+ table (or a whole year calendar) in a similar form the typical
+ Unix command does, but its internal code is based on Tcl only
+ so that it doesn't rely on the existance of this utility on
+ the system. This is also a base class from which the XmlCalendar
+ class inherits the basics methods that generate the table.
+ XmlCalendar prints an XML calendar table. Header, weekdays banner
+ and week rows tags are configurable and also specific days or
+ specific weeks can be given arbitrary attributes.
+ </para>
+ <para>
+ HtmlCalendar is a concrete class derived from XmlCalendar where
+ tags are HTML tags and the output is ready for display.
+ </para>
+ </section>
+ <section>
+ <title>Creating a Calendar instance</title>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <command>Calendar <arg>cal</arg></command>
+ </cmdsynopsis>
+ <para>
+ The command creates an command object called <arg>cal</arg> ready
+ to output a calendar table
+ </para>
+ <programlisting>set cal [Calendar #auto]</programlisting>
+ <para>
+ The method 'emit' if invoked without arguments returns an
+ ASCII formatted calendar of the current month
+ </para>
+ <programlisting>
+set current_month [$cal emit]
+puts $current_month
+ Jun 2010
+ Su Mo Tu We Th Fr Sa
+ 1 2 3 4 5
+ 6 7 8 9 10 11 12
+ 13 14 15 16 17 18 19
+ 20 21 22 23 24 25 26
+ 27 28 29 30
+</programlisting>
+
+ </listitem>
+ </varlistentry>
+ <para>
+
+ </para>
+ </variablelist>
+ </section>
+</section>
\ No newline at end of file
Modified: tcl/rivet/trunk/doc/xml/form.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/xml/form.xml?rev=959821&r1=959820&r2=959821&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/xml/form.xml (original)
+++ tcl/rivet/trunk/doc/xml/form.xml Fri Jul 2 00:45:12 2010
@@ -2,12 +2,37 @@
<section id="form">
<title>Form: An HTML Form Fields Generation Utility</title>
+
+ <section>
+ <title>Introduction</title>
+ <para>
+ The <command>form</command> package is a utility to generating html forms. A <command>form</command>
+ object command saves the programmer from typing the cumbersome html code of input elements,
+ working out a solution for better standardization and readability of the code.
+ <command>form</command> requires that just the basic information of interest to the code are
+ typed, greatly simplyfing the development of forms.
+ Option to the command are treated as a list of parameter-value pairs that become the defaults
+ for the corresponding attributes of the form.
+ </para>
+ <para>
+ A <command>form</command> object has specialized menthods to generate all the standard
+ input fields, i.e. text, password, hidden, generic button, submit or reset buttons and
+ image. <command>form</command> creates select input fields, radiobutton and checkbox
+ boolean options groups. Also new inputs introduced with HTML5 are supported: color, date,
+ datetime, datetime-local, email, file, month, number, range, search, tel, time, url, week.
+ </para>
+ <para>
+ Other input elements can be generated using the general purpose 'field' method.
+ </para>
+ </section>
<refentry id="form_package">
<refnamediv>
<refname>form</refname>
<refpurpose>
- The <command>form</command> packages creates a form object that can be manipulated
- to generate HTML forms
+ <para>
+ The <command>form</command> command creates a form object that can be manipulated
+ to generate HTML forms.
+ </para>
</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -20,186 +45,299 @@
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
- <title>Description</title>
- <para>
- The <command>form</command> package is a utility to generating html forms. A <command>form</command>
- object command saves the programmer from typing the cumbersome html code of input elements,
- working out a solution for better standardization and readability of the code.
- <command>form</command> requires that just the basic information of interest to the code are
- typed, greatly simplyfing the development of forms.
- Option to the command are treated as a list of parameter-value pairs that become the defaults
- for the corresponding attributes of the form.
- </para>
- <para>
- A <command>form</command> object has specialized menthods to generate all the standard
- input fields, i.e. text, password, hidden, generic button, submit or reset buttons and
- image. <command>form</command> creates select input fields, radiobutton and checkbox
- boolean options groups. Also new inputs introduced with HTML5 are supported: color, date,
- datetime, datetime-local, email, file, month, number, range, search, tel, time, url, week.
- </para>
<para>
- Other input elements can be generated using the general purpose 'field' method.
+ creates and returns a new Tcl command named <replaceable>form_name</replaceable>.
+ This command can be used to build the crate a form
</para>
+ <refsect2>
+ <title>Options</title>
+
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-method</arg>
+ <arg choice="opt">post|get</arg>
+ </cmdsynopsis>
+ <para>
+ The method to be used to encode the form data.
+ Possible values are get or post
+ </para>
+ <note>
+ At the time of writing only the 'get' method is implemented
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-name</arg>
+ <arg choice="opt"><replaceable>form_name</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ a name for the form being created: this value becomes the value of the
+ attribute 'name' in the <form> tag.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-defaults</arg>
+ <arg choice="opt"><replaceable>default_values</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ an array of default values to be assigned to the fields of the form.
+ Every name in the array is matched with an input field, when
+ a given field gets added to the form it is initialized with the
+ value of the corresponding variable in the array.
+ This option works well in conjuction with the
+ <command>load_response</command> command of Rivet when default values
+ come from another form.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-action</arg>
+ <arg choice="opt"><replaceable>URL</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ The URL to the procedure data are being sent to. If no <arg>-action</arg> switch is specified
+ the data are sent to the form's URL.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
</refsect1>
<refsect1>
<title>Form Object Commands</title>
<para>
- Form Objects are Tcl commands that need subcommands to invoke specific actions on an object.
- They have a general syntax that follow this scheme:
+ Form object commands follow the usual general syntax of Tcl commands:
</para>
<variablelist>
<varlistentry>
<listitem>
<cmdsynopsis>
- form_object <arg choice="plain">subcommand</arg> <arg>name</arg>
- <arg>-option1 <replaceable>value1</replaceable></arg> <arg>-option2 <replaceable>value2</replaceable></arg>
+ form_object <arg choice="plain">subcommand</arg> <arg>name</arg>
+ <arg>-option1 <replaceable>value1</replaceable></arg>
+ <arg>-option2 <replaceable>value2</replaceable></arg>
+ <arg>...</arg>
</cmdsynopsis>
</listitem>
</varlistentry>
</variablelist>
<para>
- Where <arg>name</arg> is to become the value of a 'name' attribute in input field tag. The list
- of switches that follows <arg>name</arg> is copied into the a tag as attribute="value" pairs.
- Some subcommand (e.g. form, radiobuttons and checkboxes) treat specific options in a way that fits
- the specific organization and function of these fields.
+ Where <arg>name</arg> is to become the value of a 'name' attribute in the opening tag of a field
+ or form. Options passed to a subcommand are copied into the tag as attribute="value" pairs.
+ Some subcommand (e.g. form, radiobuttons and checkboxes) treat specific options in a way
+ that fits the specific organization and function of these fields.
</para>
</refsect1>
- <refsect1>
- <variablelist>
- <title>Subcommands</title>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">start</arg>
- </cmdsynopsis>
- <para>
- generate the <form> tag with all of its arguments.
- This command must be called as first in the form generation
- process. The following is a sample of code creating a form named 'formname' whose data will
- be sent with menthod GET and initialized with data stored in array 'response'
- </para>
- <programlisting>
-form myform -defaults response -method get -name formname
-myform start
-myform text text_entry -size 20
-myform select option_selected -values {opt1 opt2 opt3 opt4}
-myform submit submit -value Search
-myform end</programlisting>
- <para>
- The code collects the input field values and send them through GET
- method to the same form URL for further processing. Use the <arg>-action</arg>
- switch to specify a different URL to process the data
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <refsect2>
-
- <variablelist>
- <title>Options</title>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">-method</arg>
- <arg choice="opt">post|get</arg>
- </cmdsynopsis>
- <para>
- The method to be used to encode the form data. Possible values are get or post
- </para>
- <note>
- At the time of writing only the 'get' method is implemented
- </note>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">-name</arg>
- <arg choice="opt"><replaceable>form_name</replaceable></arg>
- </cmdsynopsis>
- <para>
- a name for the form being generated: this value becomes the value of the
- attribute 'name' in the <form> tag.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">-defaults</arg>
- <arg choice="opt"><replaceable>default_values</replaceable></arg>
- </cmdsynopsis>
- <para>
- an array of default values to be assigned to the fields of the form.
- Every name in the array is matched with an input field, when
- a given field gets added to the form it is initialized with the
- value of the corresponding variable in the array.
- This option works well in conjuction with the
- <command>load_response</command> command of Rivet when default values
- come from another form.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">-action</arg>
- <arg choice="opt"><replaceable>URL</replaceable></arg>
- </cmdsynopsis>
- <para>
- The URL to the procedure data are being sent to. If no <arg>-action</arg> switch is specified
- the data are sent to the form's URL.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect2>
- </refsect1>
+
<refsect1>
<title>Subcommands</title>
- <variablelist>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">end</arg>
- </cmdsynopsis>
- <para>
- generate the </form> closing tag. This command must
- be called as last in the form generation process
- </para>
- </listitem>
- </varlistentry>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <command>start</command>
+ <arg>name</arg>
+ <arg>-method <replaceable>get | post</replaceable></arg>
+ <arg>-name <replaceable>form_name</replaceable></arg>
+ <arg>-defaults <replaceable>default_values</replaceable></arg>
+ <arg>-action <replaceable>URL</replaceable></arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Print the <form> tag with all of its arguments.
+ This command must be called as first in the form generation
+ process. The following is a sample of code creating a form named 'formname' whose data will
+ be sent with menthod GET and initialized with data stored in array 'response'
+ </para>
+ <programlisting>
+ form myform -defaults response -method get -name formname
+ myform start
+ myform text text_entry -size 20
+ myform select option_selected -values {opt1 opt2 opt3 opt4}
+ myform submit submit -value Search
+ myform end</programlisting>
+ <para>
+ The code collects the input field values and send them through GET
+ method to the same form URL for further processing. Use the <arg>-action</arg>
+ switch to specify a different URL to process the data
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <refsect3>
+ <title>Options</title>
+
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-method</arg>
+ <arg choice="opt">post|get</arg>
+ </cmdsynopsis>
+ <para>
+ The method to be used to encode the form data.
+ Possible values are get or post
+ </para>
+ <note>
+ At the time of writing only the 'get' method is implemented
+ </note>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-name</arg>
+ <arg choice="opt"><replaceable>form_name</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ a name for the form being generated: this value becomes the value of the
+ attribute 'name' in the <form> tag.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-defaults</arg>
+ <arg choice="opt"><replaceable>default_values</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ an array of default values to be assigned to the fields of the form.
+ Every name in the array is matched with an input field, when
+ a given field gets added to the form it is initialized with the
+ value of the corresponding variable in the array.
+ This option works well in conjuction with the
+ <command>load_response</command> command of Rivet when default values
+ come from another form.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-action</arg>
+ <arg choice="opt"><replaceable>URL</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ The URL to the procedure data are being sent to. If no <arg>-action</arg> switch is specified
+ the data are sent to the form's URL.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect3>
+ </refsect2>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">field</arg>
- <arg>type</arg>
- <arg>name</arg>
- <arg choice="opt">args</arg>
- </cmdsynopsis>
- <para>
- emit a field of the given <arg>type</arg> and <arg>name</arg>,
- including any default key-value pairs defined for this field
- type and optional key-value pairs included with the statement
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">radiobuttons</arg>
- <arg>name</arg>
- <arg>-values <replaceable>values</replaceable></arg>
- <arg>-labels <replaceable>labels</replaceable></arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- the <command>radiobutton</command> creates a whole radiobutton group
- with the values and labels specified in the argument list. If no <arg>-labels</arg> switch is
- passed to the subcommand the values are printed as labels of the radiobutton. Example:
- </para>
- <programlisting>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <command>end</command>
+ </cmdsynopsis>
+ <para>
+ Print the </form> closing tag. This command must
+ be called as last in the form generation process
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <command>field</command>
+ <arg>name</arg>
+ <arg>type</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Print a field of the given <arg>type</arg> and <arg>name</arg>,
+ including any default key-value pairs defined for this field
+ type and optional key-value pairs included with the statement
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <refsect3>
+ <title>Options</title>
+
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-opt1</arg>
+ <arg choice="opt">val1</arg>
+ </cmdsynopsis>
+ <para>
+ Option description
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect3>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">radiobuttons</arg>
+ <arg>name</arg>
+ <arg>-values <replaceable>values</replaceable></arg>
+ <arg>-labels <replaceable>labels</replaceable></arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ the <command>radiobutton</command> creates a whole radiobutton group
+ with the values and labels specified in the argument list.
+ If no <arg>-labels</arg> switch is
+ passed to the subcommand the values are printed as labels of
+ the radiobutton.
+ </para>
+ <refsect3>
+ <title>Options</title>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-values</arg>
+ <arg choice="opt"><replaceable>values_list</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ List of values associated to the radiobuttons to be displayed
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-labels</arg>
+ <arg choice="opt"><replaceable>labels_list</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ List of labels to be printed with every radiobutton. There must
+ be a label for every radiobutton
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect3>
+ <para>
+ Example:
+ </para>
+ <programlisting>
form myform -defaults response -method get -name formname
myform start
myform text text_entry -size 20
@@ -208,370 +346,460 @@ myform radiobuttons fruit -values {big m
-class myradiobclass
myform submit submit -value Search
myform end</programlisting>
- <para>
- will generate the following HTML code.
- </para>
- <programlisting>
+ <para>
+ will print the following HTML code.
+ </para>
+ <programlisting>
<input type="radio" name="fruit" class="myradiobclass" value="big" />Watermelon
<input type="radio" name="fruit" class="myradiobclass" value="medium" />Orange
<input type="radio" name="fruit" class="myradiobclass" value="small" />Strawberry
</programlisting>
- <para>
- if the 'response' array has a variable for the name 'fruit' the corresponding
- radiobutton field is automatically checked. The options <arg>values</arg> and <arg>labels</arg>
- are used internally and don't get into the tag attributes. If a <arg>labels</arg>
- switch is not given labels are generated using the <arg>values</arg> list.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">checkbox</arg>
- <arg>name</arg>
- <arg>-label <replaceable>label</replaceable></arg>
- <arg>-value <replaceable>value</replaceable></arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- The <arg choice="plain">checkbox</arg> subcommand emits a checkbox type input field with
- the name, label and value attributes set accordingly to the parameters passed to the subcommand.
- Example, the following code:
- </para>
- <programlisting>myform checkbox options -value opt1 -label "Option 1"
+ <para>
+ if the 'response' array has a variable for the name 'fruit' the corresponding
+ radiobutton field is automatically checked. The options <arg>values</arg> and <arg>labels</arg>
+ are used internally and don't get into the tag attributes. If a <arg>labels</arg>
+ option is not given, labels are assigned using the <arg>values</arg> list.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">checkbox</arg>
+ <arg>name</arg>
+ <arg>-label <replaceable>label</replaceable></arg>
+ <arg>-value <replaceable>value</replaceable></arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ The <arg choice="plain">checkbox</arg> subcommand emits a checkbox
+ type input field with the name, label and value attributes set
+ accordingly to the parameters passed to the subcommand.
+ </para>
+ <refsect3>
+ <title>Options</title>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-values</arg>
+ <arg choice="opt"><replaceable>values_list</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ List of values associated to the checkboxes to be displayed
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">-labels</arg>
+ <arg choice="opt"><replaceable>labels_list</replaceable></arg>
+ </cmdsynopsis>
+ <para>
+ List of labels to be printed with every checkbox. There must
+ be a label for every checkbox
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect3>
+ <para>
+ Example, the following code:
+ </para>
+ <programlisting>myform checkbox options -value opt1 -label "Option 1"
myform checkbox options -value opt2 -label "Option 2"
myform checkbox options -value opt3 -label "Option 3"
-myform checkbox options -value opt4 -label "Option 4"
- </programlisting>
- <para>
- Provided opt2 was in the list valued response array (in the 'options' variable) that
- initialized the form, the output would look like this
- </para>
- <programlisting><input type="checkbox" name="options" label="Option 1" value="opt1" />Option 1
+myform checkbox options -value opt4 -label "Option 4"</programlisting>
+ <para>
+ Provided opt2 was in the list valued response array (in the 'options' variable) that
+ initialized the form, the output would look like this
+ </para>
+ <programlisting><input type="checkbox" name="options" label="Option 1" value="opt1" />Option 1
<input type="checkbox" name="options" label="Option 2" value="opt2"
- checked="checked" />Option 2
+ checked="checked" />Option 2
<input type="checkbox" name="options" label="Option 3" value="opt3" />Option 3
-<input type="checkbox" name="options" label="Option 4" value="opt4" />Option 4
- </programlisting>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">text</arg>
- <arg>name</arg>
- <arg choice="opt">args</arg>
- </cmdsynopsis>
- <para>
- Emits a text input field of the form
- <input type="text" name="<arg>name</arg>" .../>
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">password</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Same as text, but the input is kept hidden as usual for
- passwords
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">hidden</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- hidden input element: the classical field to be embedded in form to
- pass status variables.
- </para>
- </listitem>
- </varlistentry>
+<input type="checkbox" name="options" label="Option 4" value="opt4" />Option 4</programlisting>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">submit</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- emits the code for a classical HTML submit button. Example: the following
- code
- </para>
- <para>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">password</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Same as text, but the input is kept hidden as usual for
+ passwords
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">hidden</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ hidden input element: the classical field to be embedded in form to
+ pass status variables.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">submit</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ emits the code for a classical HTML submit button. Example: the following
+ code
+ </para>
+ <para>
+ <programlisting>
+ form myform -defaults response -method get -name feedsearch
+ myform start
+ myform submit submit -value Search</programlisting>
+ </para>
+ <para>
+ Would emit a form like this
+ </para>
<programlisting>
-form myform -defaults response -method get -name feedsearch
-myform start
-myform submit submit -value Search</programlisting>
- </para>
- <para>
- Would emit a form like this
- </para>
- <programlisting>
-<form...>
-<input type="submit" name="submit" value="Search" />
-</form></programlisting>
- </listitem>
- </varlistentry>
+ <form...>
+ <input type="submit" name="submit" value="Search" />
+ </form></programlisting>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">button</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- emits the code for a button field having <arg>name</arg> as name
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">reset</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Classical HTML reset button that brings the input fields
- back to their initial values
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">image</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an image input field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">checkbox</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits a checkbox input field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">radio</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits a radiobutton input field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">color</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "color" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">date</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "date" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">datetime</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "datetime" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">datetime_local</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "datetime_local" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">email</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "email" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">file</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "file" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">month</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "month" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">number</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "number" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">range</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "range" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">search</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "search" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">tel</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "tel" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">time</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "time" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">url</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "url" form field
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <listitem>
- <cmdsynopsis>
- <arg choice="plain">week</arg>
- <arg>name</arg>
- <arg>args</arg>
- </cmdsynopsis>
- <para>
- Emits an HTML 5 "week" form field
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">button</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ emits the code for a button field having <arg>name</arg> as name
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">reset</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Classical HTML reset button that brings the input fields
+ back to their initial values
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">image</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an image input field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">checkbox</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits a checkbox input field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">radio</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits a radiobutton input field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">color</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "color" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">date</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "date" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">datetime</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "datetime" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">datetime_local</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "datetime_local" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">email</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "email" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">file</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "file" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">month</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "month" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">number</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "number" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">range</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "range" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">search</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "search" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">tel</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "tel" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">time</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "time" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">url</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "url" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+ <refsect2>
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <cmdsynopsis>
+ <arg choice="plain">week</arg>
+ <arg>name</arg>
+ <arg>args</arg>
+ </cmdsynopsis>
+ <para>
+ Emits an HTML 5 "week" form field
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
</refsect1>
</refentry>
-
-</section>
+</section>
\ No newline at end of file
Modified: tcl/rivet/trunk/rivet/pkgIndex.tcl
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/rivet/pkgIndex.tcl?rev=959821&r1=959820&r2=959821&view=diff
==============================================================================
--- tcl/rivet/trunk/rivet/pkgIndex.tcl (original)
+++ tcl/rivet/trunk/rivet/pkgIndex.tcl Fri Jul 2 00:45:12 2010
@@ -14,7 +14,8 @@ package ifneeded Dtcl 1.0 [list source [
package ifneeded RivetTcl 1.1 [list source [file join $dir init.tcl]]
package ifneeded Session 1.0 [list source [file join $dir packages/session/session-class.tcl]]
package ifneeded commserver 0.1 [list source [file join $dir packages/commserver/commserver.tcl]]
-package ifneeded dio_Mysql 0.1 [list source [file join $dir packages/dio/dio_Mysql.tcl]]
+package ifneeded dio_Mysql 0.2 [list source [file join $dir packages/dio/dio_Mysql.tcl]]
+package ifneeded dio_Oracle 0.1 [list source [file join $dir packages/dio/dio_Oracle.tcl]]
package ifneeded dio_Postgresql 0.1 [list source [file join $dir packages/dio/dio_Postgresql.tcl]]
package ifneeded dio_Sqlite 0.1 [list source [file join $dir packages/dio/dio_Sqlite.tcl]]
package ifneeded form 1.0 [list source [file join $dir packages/form/form.tcl]]
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org