Mercurial > p > roundup > code
comparison doc/customizing.txt @ 1365:4884fb0860f9
fixed rdbms searching by ID [SF#666615]
detect corrupted index and raise semi-useful exception [SF#666767]
also some mysql support (in tests)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 12 Jan 2003 23:53:20 +0000 |
| parents | aa7e4e8b14be |
| children | 8e4c3e8de96f |
comparison
equal
deleted
inserted
replaced
| 1364:1d1ee96e8956 | 1365:4884fb0860f9 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.69 $ | 5 :Version: $Revision: 1.70 $ |
| 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:: |
| 997 operator in the expression to provide an alternative. So, the expression | 997 operator in the expression to provide an alternative. So, the expression |
| 998 ``request/form/foo/value | default`` would simply leave the current HTML | 998 ``request/form/foo/value | default`` would simply leave the current HTML |
| 999 in place if the "foo" form variable doesn't exist. | 999 in place if the "foo" form variable doesn't exist. |
| 1000 | 1000 |
| 1001 **String Expressions** - eg. ``string:hello ${user/name}`` | 1001 **String Expressions** - eg. ``string:hello ${user/name}`` |
| 1002 These expressions are simple string interpolations (though they can be just | 1002 These expressions are simple string interpolations - though they can be just |
| 1003 plain strings with no interpolation if you want. The expression in the | 1003 plain strings with no interpolation if you want. The expression in the |
| 1004 ``${ ... }`` is just a path expression as above. | 1004 ``${ ... }`` is just a path expression as above. |
| 1005 | 1005 |
| 1006 **Python Expressions** - eg. ``python: 1+1`` | 1006 **Python Expressions** - eg. ``python: 1+1`` |
| 1007 These expressions give the full power of Python. All the "root level" | 1007 These expressions give the full power of Python. All the "root level" |
