diff roundup/cgi/templating.py @ 3129:fa200651d4c6 maint-0.7

doc fixes
author Richard Jones <richard@users.sourceforge.net>
date Fri, 11 Feb 2005 22:41:10 +0000
parents 427e3aee2113
children 2fc188d90ce5
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Fri Jan 28 05:11:29 2005 +0000
+++ b/roundup/cgi/templating.py	Fri Feb 11 22:41:10 2005 +0000
@@ -1503,6 +1503,18 @@
             sort_on=None, **conditions):
         ''' Render a form select list for this property
 
+            "size" is used to limit the length of the list labels
+            "height" is used to set the <select> tag's "size" attribute
+            "showid" includes the item ids in the list labels
+            "additional" lists properties which should be included in the
+                label
+            "sort_on" indicates the property to sort the list on as
+                (direction, property) where direction is '+' or '-'.
+            
+            The remaining keyword arguments are used as conditions for
+            filtering the items in the list - they're passed as the
+            "filterspec" argument to a Class.filter() call.
+
             If not editable, just display the value via plain().
         '''
         self.view_check()
@@ -1657,6 +1669,18 @@
             sort_on=None, **conditions):
         ''' Render a form select list for this property
 
+            "size" is used to limit the length of the list labels
+            "height" is used to set the <select> tag's "size" attribute
+            "showid" includes the item ids in the list labels
+            "additional" lists properties which should be included in the
+                label
+            "sort_on" indicates the property to sort the list on as
+                (direction, property) where direction is '+' or '-'.
+            
+            The remaining keyword arguments are used as conditions for
+            filtering the items in the list - they're passed as the
+            "filterspec" argument to a Class.filter() call.
+
             If not editable, just display the value via plain().
         '''
         self.view_check()

Roundup Issue Tracker: http://roundup-tracker.org/