From: <dre...@us...> - 2003-12-27 15:10:24
|
Update of /cvsroot/archetypes/Archetypes In directory sc8-pr-cvs1:/tmp/cvs-serv912 Modified Files: Widget.py Log Message: Template simplification, addition of a table_view, small improvements to Decimal Widget and Calendar Widget. See the description of patch #864600 for more info Index: Widget.py =================================================================== RCS file: /cvsroot/archetypes/Archetypes/Widget.py,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- Widget.py 6 Dec 2003 23:32:20 -0000 1.41 +++ Widget.py 27 Dec 2003 15:10:21 -0000 1.42 @@ -71,6 +71,9 @@ 'macro' : "widgets/decimal", 'size' : '5', 'maxlength' : '255', + 'dollars_and_cents' : 0, + 'whole_dollars' : 0, + 'thousands_commas' : 0, }) class IntegerWidget(TypesWidget): @@ -140,6 +143,7 @@ _properties = TypesWidget._properties.copy() _properties.update({ 'macro' : "widgets/calendar", + 'format' : '', # time.strftime string }) class SelectionWidget(TypesWidget): |