Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 3469:d3b02352484f | 3470:fd32170475f5 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.187 $ | 5 :Version: $Revision: 1.188 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 2033 sort_on | 2033 sort_on |
| 2034 indicates the property to sort the list on as (direction, | 2034 indicates the property to sort the list on as (direction, |
| 2035 (direction, property) where direction is '+' or '-'. A | 2035 (direction, property) where direction is '+' or '-'. A |
| 2036 single string with the direction prepended may be used. | 2036 single string with the direction prepended may be used. |
| 2037 For example: ('-', 'order'), '+name'. | 2037 For example: ('-', 'order'), '+name'. |
| 2038 value | |
| 2039 gives a default value to preselect in the menu | |
| 2038 | 2040 |
| 2039 The remaining keyword arguments are used as conditions for | 2041 The remaining keyword arguments are used as conditions for |
| 2040 filtering the items in the list - they're passed as the | 2042 filtering the items in the list - they're passed as the |
| 2041 "filterspec" argument to a Class.filter() call. | 2043 "filterspec" argument to a Class.filter() call. |
| 2042 | 2044 |
