Mercurial > p > roundup > code
diff doc/customizing.txt @ 3470:fd32170475f5
allow preselection of values in templating menu()s (patch [SF#1396085])
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 20 Jan 2006 02:02:59 +0000 |
| parents | da8fe3566f67 |
| children | 1142dafe0d7f |
line wrap: on
line diff
--- a/doc/customizing.txt Fri Jan 13 03:56:36 2006 +0000 +++ b/doc/customizing.txt Fri Jan 20 02:02:59 2006 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.187 $ +:Version: $Revision: 1.188 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -2035,6 +2035,8 @@ (direction, property) where direction is '+' or '-'. A single string with the direction prepended may be used. For example: ('-', 'order'), '+name'. + value + gives a default value to preselect in the menu The remaining keyword arguments are used as conditions for filtering the items in the list - they're passed as the
