22Customising Roundup
33===================
44
5- :Version: $Revision: 1.34 $
5+ :Version: $Revision: 1.35 $
66
77.. This document borrows from the ZopeBook section on ZPT. The original is at:
88 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -951,9 +951,9 @@ _value the value of the property if any
951951
952952There are several methods available on these wrapper objects:
953953
954- =========== =============================================================
954+ =========== =================================================================
955955Method Description
956- =========== =============================================================
956+ =========== =================================================================
957957plain render a "plain" representation of the property
958958field render a form edit field for the property
959959stext only on String properties - render the value of the
@@ -963,6 +963,9 @@ multiline only on String properties - render a multiline form edit
963963 field for the property
964964email only on String properties - render the value of the
965965 property as an obscured email address
966+ confirm only on Password properties - render a second form edit field for
967+ the property, used for confirmation that the user typed the
968+ password correctly. Generates a field with name "name:confirm".
966969reldate only on Date properties - render the interval between the
967970 date and now
968971pretty only on Interval properties - render the interval in a
@@ -971,7 +974,7 @@ menu only on Link and Multilink properties - render a form select
971974 list for this property
972975reverse only on Multilink properties - produce a list of the linked
973976 items in reverse order
974- =========== =============================================================
977+ =========== =================================================================
975978
976979The request variable
977980~~~~~~~~~~~~~~~~~~~~
@@ -982,9 +985,9 @@ The request variable is packed with information about the current request.
982985
983986.. taken from roundup.cgi.templating.HTMLRequest docstring
984987
985- =========== ================================================================
988+ =========== =================================================================
986989Variable Holds
987- =========== ================================================================
990+ =========== =================================================================
988991form the CGI form as a cgi.FieldStorage
989992env the CGI environment variables
990993url the current URL path for this request
@@ -993,13 +996,13 @@ user a HTMLUser instance for this user
993996classname the current classname (possibly None)
994997template the current template (suffix, also possibly None)
995998form the current CGI form variables in a FieldStorage
996- =========== ================================================================
999+ =========== =================================================================
9971000
9981001**Index page specific variables (indexing arguments)**
9991002
1000- =========== ================================================================
1003+ =========== =================================================================
10011004Variable Holds
1002- =========== ================================================================
1005+ =========== =================================================================
10031006columns dictionary of the columns to display in an index page
10041007show a convenience access to columns - request/show/colname will
10051008 be true if the columns should be displayed, false otherwise
@@ -1008,13 +1011,13 @@ group index grouping property (direction, column name)
10081011filter properties to filter the index on
10091012filterspec values to filter the index on
10101013search_text text to perform a full-text search on for an index
1011- =========== ================================================================
1014+ =========== =================================================================
10121015
10131016There are several methods available on the request variable:
10141017
1015- =============== ============================================================
1018+ =============== =============================================================
10161019Method Description
1017- =============== ============================================================
1020+ =============== =============================================================
10181021description render a description of the request - handle for the page
10191022 title
10201023indexargs_form render the current index args as form elements
@@ -1024,7 +1027,7 @@ base_javascript render some javascript that is used by other components of
10241027batch run the current index args through a filter and return a
10251028 list of items (see `hyperdb item wrapper`_, and
10261029 `batching`_)
1027- =============== ============================================================
1030+ =============== =============================================================
10281031
10291032The form variable
10301033:::::::::::::::::
@@ -1067,11 +1070,11 @@ The util variable
10671070
10681071Note: this is implemented by the roundup.cgi.templating.TemplatingUtils class.
10691072
1070- =============== ============================================================
1073+ =============== =============================================================
10711074Method Description
1072- =============== ============================================================
1075+ =============== =============================================================
10731076Batch return a batch object using the supplied list
1074- =============== ============================================================
1077+ =============== =============================================================
10751078
10761079Batching
10771080::::::::
0 commit comments